1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс DropDown
Граф наследования:DropDown:
BaseValuable Base CustomDropDown

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

 __construct ($key)
 printContent ()
 getDefaultOptions ()
 addOption ($key, $value)
 addOptions ($options)
 getOptions ()
 setOptions ($options)
Открытые члены унаследованные от BaseValuable
 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())

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

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

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

◆ __construct()

__construct ( $key)

Drop down field constructor.

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

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

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

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

Методы

◆ addOption()

addOption ( $key,
$value )

Add option to end of option list.

Аргументы
string$keyKey for option.
string$valueValue For option.
Возвращает
$this

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

◆ addOptions()

addOptions ( $options)

Add options to end of options list.

Аргументы
array$optionsKey value pair array.
Возвращает
void

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

◆ getDefaultOptions()

getDefaultOptions ( )
Возвращает
array

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

◆ getOptions()

getOptions ( )
Возвращает
array

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

◆ printContent()

printContent ( )

Load field component with baseselect template.

Возвращает
void

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

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

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

◆ setOptions()

setOptions ( $options)

Options list setter.

Аргументы
array$optionsKey value pair array.
Возвращает
void

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

Поля

◆ JS_EVENT_ON_CHANGE

const JS_EVENT_ON_CHANGE = 'onChange'

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/report/lib/visualconstructor/fields/valuable/dropdown.php