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

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

 __construct ($id, $contentHtml='')
 
 printContent ()
 
- Открытые члены унаследованные от Html
 __construct ($contentHtml='')
 
 getContent ()
 
 setContent ($content)
 
- Открытые члены унаследованные от 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())
 

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

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

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

◆ __construct()

__construct ( $id,
$contentHtml = '' )

Construct html element and set id for it. After js listeners will listen events element by id.

Аргументы
string$idUnique id for complex html field.
string$contentHtmlString which place into complex html node.

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

Методы

◆ printContent()

printContent ( )

Print complex html component content.

Возвращает
void

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

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

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

◆ JS_EVENT_ON_CLICK

const JS_EVENT_ON_CLICK = 'onClick'

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