Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс ConfigItem

Открытые члены

 __construct (string $code, string $type)
 
 getCode ()
 
 getType ()
 
 getSort ()
 
 setSort (int $sort)
 
 isVisible ()
 
 setIsVisible (bool $isVisible)
 
 getValue ()
 
 setValue ($value)
 

Открытые атрибуты

const STRING_TYPE = 'string'
 
const BOOL_TYPE = 'bool'
 

Подробное описание

См. определение в файле configitem.php строка 12

Конструктор(ы)

◆ __construct()

__construct ( string $code,
string $type )

ConfigItem constructor.

Аргументы
string$code
string$type

См. определение в файле configitem.php строка 37

Методы

◆ getCode()

getCode ( )
Возвращает
string

См. определение в файле configitem.php строка 51

◆ getSort()

getSort ( )
Возвращает
int

См. определение в файле configitem.php строка 67

◆ getType()

getType ( )
Возвращает
string

См. определение в файле configitem.php строка 59

◆ getValue()

getValue ( )
Возвращает
mixed|null

См. определение в файле configitem.php строка 105

◆ isVisible()

isVisible ( )
Возвращает
bool

См. определение в файле configitem.php строка 86

◆ setIsVisible()

setIsVisible ( bool $isVisible)
Аргументы
bool$isVisible
Возвращает
ConfigItem

См. определение в файле configitem.php строка 95

◆ setSort()

setSort ( int $sort)
Аргументы
int$sort
Возвращает
ConfigItem

См. определение в файле configitem.php строка 76

◆ setValue()

setValue ( $value)
Аргументы
mixed | null$value
Возвращает
ConfigItem

См. определение в файле configitem.php строка 114

Данные класса

◆ BOOL_TYPE

const BOOL_TYPE = 'bool'

См. определение в файле configitem.php строка 15

◆ STRING_TYPE

const STRING_TYPE = 'string'

См. определение в файле configitem.php строка 14