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

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

 __construct ($id)
 
 printContent ()
 
- Открытые члены унаследованные от 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)
 
 getId ()
 
 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_CLICK = 'onClick'
 
- Открытые атрибуты унаследованные от Base
const FIELDS_COMPONENT_NAME = 'bitrix:report.visualconstructor.config.fields'
 

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

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

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

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

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

◆ __construct()

__construct ( $id)

Button constructor.

Аргументы
string$idUnique id.

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

Методы

◆ printContent()

printContent ( )

Load field component with button template.

Возвращает
void

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

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

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

◆ JS_EVENT_ON_CLICK

const JS_EVENT_ON_CLICK = 'onClick'

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