Bitrix API

Option

AbstractYes

Entity for working with options.

Any option, no matter how small it is, can have different variants of values.

By creating a separate class for an option, we can describe its purpose, available options, as well as language messages.

Table of Contents

Constants

DEFAULT_VALUE  = null
NAME  = null

Methods

get()  : string
Get option value.
set()  : void
Set option value.

Constants

DEFAULT_VALUE

public mixed DEFAULT_VALUE = null

Methods

get()

Get option value.

public static get() : string
Return values
string

set()

Set option value.

public static set(string $value) : void
Parameters
$value : string

        
On this page

Search results