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

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

 getCollectedFormElements ()
 
 getFormElementFromCollected ($key)
 
 addFormElement (BaseFormElement $element)
 
 addFormElementBefore (BaseFormElement $newElement, BaseFormElement $targetElement)
 
 addFormElementAfter (BaseFormElement $newElement, BaseFormElement $targetElement)
 
 addFormElementToStart (BaseFormElement $newElement)
 
 addFormElementToEnd (BaseFormElement $newElement)
 
 setFormElements ($formElementList)
 
 updateFormElementValue ($formElement, $value)
 
 getFormElements ()
 
 getFormElement ($fieldKey)
 
 getFormElementValue ($fieldKey)
 
 getFormElementByDataAttribute ($attributeKey, $value)
 
 removeFormElement (BaseFormElement $element)
 
 setConfigurations ($configurations)
 
 getConfigurations ()
 
 getConfigurationsGidKeyed ()
 
 getConfiguration ($key)
 
 getView ()
 
 setView (View $view)
 

Открытые статические члены

static getClassName ()
 

Защищенные члены

 collectFormElements ()
 
 getNameForFormElement (BaseValuable $element)
 

Защищенные данные

 $configurations = array()
 
 $view
 
 $formElementsList = array()
 

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

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

Методы

◆ addFormElement()

addFormElement ( BaseFormElement $element)

Add form element to end of elements list.

Аргументы
BaseFormElement$elementElement to add to form.
Возвращает
void

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

◆ addFormElementAfter()

addFormElementAfter ( BaseFormElement $newElement,
BaseFormElement $targetElement )

Add form element after target element.

Аргументы
BaseFormElement$newElementElement to add to form.
BaseFormElement$targetElementElement after which need to add.
Возвращает
void

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

◆ addFormElementBefore()

addFormElementBefore ( BaseFormElement $newElement,
BaseFormElement $targetElement )

Add form element before target element.

Аргументы
BaseFormElement$newElementElement to add to form.
BaseFormElement$targetElementElement before which need to add.
Возвращает
void

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

◆ addFormElementToEnd()

addFormElementToEnd ( BaseFormElement $newElement)

Analog of add form element.

Аргументы
BaseFormElement$newElementElement which need to insert to end of form.
Возвращает
void

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

◆ addFormElementToStart()

addFormElementToStart ( BaseFormElement $newElement)

Insert element to start of form elements list.

Аргументы
BaseFormElement$newElementElement which need to insert to start of form.
Возвращает
void

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

◆ collectFormElements()

collectFormElements ( )
abstractprotected

Collecting form elements for configuration form.

Возвращает
void

Переопределяется в BaseReport и EmptyReport.

◆ getClassName()

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

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

◆ getCollectedFormElements()

getCollectedFormElements ( )
Возвращает
BaseFormElement[]

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

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

◆ getConfiguration()

getConfiguration ( $key)

TODO@ optimise this

Аргументы
string$keyUnique key to find configuration.
Возвращает
Configuration|null

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

◆ getConfigurations()

getConfigurations ( )
Возвращает
Configuration[]

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

◆ getConfigurationsGidKeyed()

getConfigurationsGidKeyed ( )
Возвращает
Configuration[]

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

◆ getFormElement()

getFormElement ( $fieldKey)

In form elements list find form element with key $fieldKey.

Аргументы
string$fieldKeyUnique key to find form element.
Возвращает
BaseFormElement|\Bitrix\Report\VisualConstructor\Fields\Valuable\BaseValuable|null

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

◆ getFormElementByDataAttribute()

getFormElementByDataAttribute ( $attributeKey,
$value )

Find form element by attribute key value pair.

Аргументы
string$attributeKeyAttribute key to find in form elements list.
string$valueValue of attribute name for needle form element.
Возвращает
BaseFormElement|null

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

◆ getFormElementFromCollected()

getFormElementFromCollected ( $key)
Аргументы
string$keyUnique key to fine element in form elements list.
Возвращает
BaseFormElement|BaseValuable|null

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

◆ getFormElements()

getFormElements ( )
Возвращает
BaseFormElement[]

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

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

◆ getFormElementValue()

getFormElementValue ( $fieldKey)

Returns value of the form element with given key.

Аргументы
string$fieldKeyThe key of the field.
Возвращает
mixed|null

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

◆ getNameForFormElement()

getNameForFormElement ( BaseValuable $element)
protected

Construct form element, to render in form.

Аргументы
BaseValuable$elementForm element.
Возвращает
string

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

◆ getView()

getView ( )
Возвращает
View|null

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

◆ removeFormElement()

removeFormElement ( BaseFormElement $element)

Remove from form elements list form element.

Аргументы
BaseFormElement$elementElement to remove.
Возвращает
bool

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

◆ setConfigurations()

setConfigurations ( $configurations)
Аргументы
Configuration[]$configurationsConfiguration list to set.
Возвращает
void

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

◆ setFormElements()

setFormElements ( $formElementList)

Setter to set form elements multiply.

Аргументы
BaseFormElement[]$formElementListForm elements to set in form.
Возвращает
void

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

◆ setView()

setView ( View $view)
Аргументы
View$viewView entity to set of handler.
Возвращает
void

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

◆ updateFormElementValue()

updateFormElementValue ( $formElement,
$value )
Аргументы
BaseValuable | string$formElementForm element which need to update.
mixed$valueNew value for form element.
Возвращает
bool

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

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

◆ $configurations

$configurations = array()
protected

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

◆ $formElementsList

$formElementsList = array()
protected

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

◆ $view

$view
protected

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