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

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

 __construct ($key, $mode='small')
 
 printContent ()
 
 getMode ()
 
 setMode ($mode)
 
- Открытые члены унаследованные от 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 ()
 
 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)
 

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

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

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

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

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

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

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

◆ __construct()

__construct ( $key,
$mode = 'small' )

Label field constructor.

Аргументы
string$keyUnique key.
string$modeMode for render (small or big).

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

Методы

◆ getMode()

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

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

◆ printContent()

printContent ( )

Load field component with label or biglabel template.

Возвращает
void

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

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

◆ setMode()

setMode ( $mode)

Mode setter.

Аргументы
string$modeMode value(small or big).
Возвращает
void

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

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

◆ JS_EVENT_ON_CHANGE

const JS_EVENT_ON_CHANGE = 'onChange'

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