См. определение в файле base.php строка 11
◆ addAssets()
Attach js, css, or inline assets to field.
- Аргументы
-
array | $assets | Array of assets which attach to field. |
- Возвращает
- void
См. определение в файле base.php строка 103
◆ addClass()
Add to class list class string.
- Аргументы
-
string | $class | Class string. |
- Возвращает
- void
Переопределяется в DivPartHtml.
См. определение в файле base.php строка 313
◆ addDataAttribute()
addDataAttribute |
( |
| $key, |
|
|
| $value ) |
- Аргументы
-
string | $key | Key for data attribute. ('role'). |
string | $value | Value for data attribute. ('widget'). |
- Возвращает
- void
См. определение в файле base.php строка 361
◆ addInlineStyle()
addInlineStyle |
( |
| $key, |
|
|
| $value ) |
Add inline style by key and value.
- Аргументы
-
string | $key | Key of inline style. ('background-color'). |
string | $value | Value Of inline style. ('red'). |
- Возвращает
- void
Переопределяется в DivPartHtml.
См. определение в файле base.php строка 481
◆ addJsEventListener()
addJsEventListener |
( |
Base | $field = null, |
|
|
| $eventKey, |
|
|
| $jsParams ) |
Add js event handler to field on some event which fire on $field in first parameter of this function.
- Аргументы
-
self | null | $field | Field which fire event. |
string | $eventKey | Event key which listen this field. |
array | $jsParams | JS parameters which pass to handler. |
- Возвращает
- $this
См. определение в файле base.php строка 215
◆ getAssets()
- Возвращает
- array
См. определение в файле base.php строка 92
◆ getClasses()
- Возвращает
- array
См. определение в файле base.php строка 321
◆ getClassName()
◆ getCompatibleViewTypes()
getCompatibleViewTypes |
( |
| ) |
|
- Возвращает
- array
См. определение в файле base.php строка 252
◆ getDataAttribute()
Get data attribute by key.
- Аргументы
-
string | $key | Key for data attribute which will return. |
- Возвращает
- mixed|null
См. определение в файле base.php строка 332
◆ getDataAttributes()
- Возвращает
- array
См. определение в файле base.php строка 340
◆ getForm()
- Возвращает
- Form
См. определение в файле base.php строка 125
◆ getId()
◆ getInlineStyle()
- Возвращает
- array
См. определение в файле base.php строка 488
◆ getJsEventListeners()
- Возвращает
- array
См. определение в файле base.php строка 194
◆ getJsEvents()
- Возвращает
- array
См. определение в файле base.php строка 202
◆ getKey()
- Возвращает
- string
См. определение в файле base.php строка 384
◆ getLabel()
- Возвращает
- string
См. определение в файле base.php строка 232
◆ getPostfix()
- Возвращает
- Base
См. определение в файле base.php строка 69
◆ getPrefix()
- Возвращает
- Base
См. определение в файле base.php строка 46
◆ getRenderedClassAttributes()
getRenderedClassAttributes |
( |
| ) |
|
Convert class list property collection to string for render as html in field element.
- Возвращает
- string
См. определение в файле base.php строка 405
◆ getRenderedDataAttributes()
getRenderedDataAttributes |
( |
| ) |
|
Conver data atttribute property collection to string for render as html in field element.
- Возвращает
- string
См. определение в файле base.php строка 422
◆ getRenderedIdAttribute()
getRenderedIdAttribute |
( |
| ) |
|
Conver id property to string for render as html in element.
- Возвращает
- string
См. определение в файле base.php строка 371
◆ getRenderedInlineStyle()
getRenderedInlineStyle |
( |
| ) |
|
Convert inline style propery collection to string for render as html.
- Возвращает
- string
См. определение в файле base.php строка 438
◆ getWeight()
- Возвращает
- int
См. определение в файле base.php строка 290
◆ includeFieldComponent()
includeFieldComponent |
( |
| $templateName, |
|
|
| $params = array() ) |
|
protected |
Include component for field.
- Аргументы
-
string | $templateName | Template name string. |
array | $params | Parameters pass to component. |
- Возвращает
- void
См. определение в файле base.php строка 530
◆ isDisplay()
- Возвращает
- bool
См. определение в файле base.php строка 507
◆ isDisplayLabel()
- Возвращает
- bool
См. определение в файле base.php строка 458
◆ printContent()
Print field html/string ore somthing else printable.
- Возвращает
- void
Переопределяется в Button, ComplexHtml, Container, Div, Html, Image, CheckBox, ColorPicker, CustomDropDown, DropDown, Hidden, LabelField, PreviewBlock и TimePeriod.
◆ render()
Check is displayable this field, if yes collect all assets, And print content.
- Возвращает
- void
См. определение в файле base.php строка 147
◆ setCompatibleViewTypes()
setCompatibleViewTypes |
( |
| $compatibleViewTypes | ) |
|
Setter of compatible widget view types.
- Аргументы
-
array | $compatibleViewTypes | Compatible widget view type list. |
- Возвращает
- void
См. определение в файле base.php строка 263
◆ setDataAttributes()
setDataAttributes |
( |
| $dataAttributes | ) |
|
Set Data attributes by array of pair key => values.
- Аргументы
-
array | $dataAttributes | Array of pair key=>value. |
- Возвращает
- void
См. определение в файле base.php строка 351
◆ setDisplay()
Setter for display mode.
- Аргументы
-
bool | $display | Render or not this field marker. |
- Возвращает
- void
См. определение в файле base.php строка 518
◆ setForm()
Setter for form context.
- Аргументы
-
Form | $form | Form where render field. |
- Возвращает
- void
См. определение в файле base.php строка 136
◆ setId()
Setter for id.
- Аргументы
-
- Возвращает
- void
См. определение в файле base.php строка 282
◆ setInlineStyle()
setInlineStyle |
( |
| $inlineStyle | ) |
|
Setter dor inline style.
- Аргументы
-
array | $inlineStyle | Inline style string. |
- Возвращает
- void
См. определение в файле base.php строка 499
◆ setIsDisplayLabel()
setIsDisplayLabel |
( |
| $isDisplayLabel | ) |
|
Setter for display mode of label of field.
- Аргументы
-
bool | $isDisplayLabel | True if label must render else false. |
- Возвращает
- void
См. определение в файле base.php строка 469
◆ setKey()
Seter for key.
- Аргументы
-
string | $key | Unique key for field. |
- Возвращает
- void
См. определение в файле base.php строка 395
◆ setLabel()
Setter for field label.
- Аргументы
-
string | $label | String to set as label for field. |
- Возвращает
- void
См. определение в файле base.php строка 243
◆ setPostfix()
Setter for string which render after field content.
- Аргументы
-
string | Base | $postfix | String for render after content. |
- Возвращает
- void
См. определение в файле base.php строка 80
◆ setPrefix()
Setter for string which render before field content.
- Аргументы
-
string | Base | $prefix | String for render before content. |
- Возвращает
- void
См. определение в файле base.php строка 57
◆ setWeight()
Setter for Weight.
- Аргументы
-
int | $weight | Integer of weightof Field. |
- Возвращает
- void
См. определение в файле base.php строка 301
◆ FIELDS_COMPONENT_NAME
const FIELDS_COMPONENT_NAME = 'bitrix:report.visualconstructor.config.fields' |