Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс BaseValuable
+ Граф наследования:BaseValuable:

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

 __construct ($key)
 
 getDefaultValue ()
 
 setDefaultValue ($defaultValue)
 
 getValue ()
 
 setValue ($value)
 
 getName ()
 
 setName ($name)
 
 getId ()
 
- Открытые члены унаследованные от Base
 getPrefix ()
 
 setPrefix ($prefix)
 
 getPostfix ()
 
 setPostfix ($postfix)
 
 getAssets ()
 
 addAssets ($assets)
 
 getForm ()
 
 setForm ($form)
 
 render ()
 
 printContent ()
 
 getJsEventListeners ()
 
 getJsEvents ()
 
 addJsEventListener (Base $field=null, $eventKey, $jsParams)
 
 getLabel ()
 
 setLabel ($label)
 
 getCompatibleViewTypes ()
 
 setCompatibleViewTypes ($compatibleViewTypes)
 
 setId ($id)
 
 getWeight ()
 
 setWeight ($weight)
 
 addClass ($class)
 
 getClasses ()
 
 getDataAttribute ($key)
 
 getDataAttributes ()
 
 setDataAttributes ($dataAttributes)
 
 addDataAttribute ($key, $value)
 
 getRenderedIdAttribute ()
 
 getKey ()
 
 setKey ($key)
 
 getRenderedClassAttributes ()
 
 getRenderedDataAttributes ()
 
 getRenderedInlineStyle ()
 
 isDisplayLabel ()
 
 setIsDisplayLabel ($isDisplayLabel)
 
 addInlineStyle ($key, $value)
 
 getInlineStyle ()
 
 setInlineStyle ($inlineStyle)
 
 isDisplay ()
 
 setDisplay ($display)
 

Защищенные члены

 normalise ($config)
 
- Защищенные члены унаследованные от Base
 includeFieldComponent ($templateName, $params=array())
 

Дополнительные унаследованные члены

- Открытые статические члены унаследованные от Base
static getClassName ()
 
- Открытые атрибуты унаследованные от Base
const FIELDS_COMPONENT_NAME = 'bitrix:report.visualconstructor.config.fields'
 

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

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

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

◆ __construct()

__construct ( $key)

Constructor for valuable fields.

Аргументы
string$keyUnique key.

Переопределяется в CheckBox, CustomDropDown, DropDown, Hidden и PreviewBlock.

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

Методы

◆ getDefaultValue()

getDefaultValue ( )
Возвращает
mixed

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

◆ getId()

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

Переопределяет метод предка Base.

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

◆ getName()

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

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

◆ getValue()

getValue ( )

Return value if exist, or return default value.

Возвращает
mixed

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

◆ normalise()

normalise ( $config)
protected

Normalise value field before save.

Аргументы
mixed$configConfig which will pass to db.
Возвращает
mixed

Переопределяется в TimePeriod.

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

◆ setDefaultValue()

setDefaultValue ( $defaultValue)

Defaul value setter.

Аргументы
mixed$defaultValueValue which use as default.
Возвращает
void

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

◆ setName()

setName ( $name)

Field name setter.

Аргументы
string$nameName which use in rendered field.
Возвращает
void

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

◆ setValue()

setValue ( $value)

Value setter.

Аргументы
mixed$valueValue set as value of field.
Возвращает
void

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