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

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

static getType ()
 
static getConversionMap ()
 
static canRenderControl ($renderMode)
 
static renderControlSingle (FieldType $fieldType, array $field, $value, $allowSelection, $renderMode)
 
static renderControlMultiple (FieldType $fieldType, array $field, $value, $allowSelection, $renderMode)
 
static renderControlOptions (FieldType $fieldType, $callbackFunctionName, $value)
 
static extractValueMultiple (FieldType $fieldType, array $field, array $request)
 
static formatValueMultiple (FieldType $fieldType, $value, $format='printable')
 
static formatValueSingle (FieldType $fieldType, $value, $format='printable')
 
static convertValueMultiple (FieldType $fieldType, $value, $toTypeClass)
 
static externalizeValue (FieldType $fieldType, $context, $value)
 
static mergeValue (FieldType $fieldType, array $baseValue, $appendValue)
 
static validateValueSingle ($value, FieldType $fieldType)
 
static validateValueMultiple ($value, FieldType $fieldType)
 
static convertPropertyToView (FieldType $fieldType, int $viewMode, array $property)
 
- Открытые статические члены унаследованные от Base
static getName ()
 
static addFormat ($name, array $options)
 
static getFormats ()
 
static toSingleValue (FieldType $fieldType, $value)
 
static convertTo (FieldType $fieldType, $value, $toTypeClass)
 
static convertFrom (FieldType $fieldType, $value, $fromTypeClass)
 
static addError ($error)
 
static addErrors (array $errors)
 
static getErrors ()
 
static extractValueSingle (FieldType $fieldType, array $field, array $request)
 
static clearValueSingle (FieldType $fieldType, $value)
 
static clearValueMultiple (FieldType $fieldType, $value)
 
static internalizeValue (FieldType $fieldType, $context, $value)
 
static internalizeValueSingle (FieldType $fieldType, $context, $value)
 
static internalizeValueMultiple (FieldType $fieldType, $context, $value)
 
static externalizeValueSingle (FieldType $fieldType, $context, $value)
 
static externalizeValueMultiple (FieldType $fieldType, $context, $value)
 
static compareValues ($valueA, $valueB)
 

Защищенные статические члены

static formatValuePrintable (FieldType $fieldType, $value)
 
static renderControl (FieldType $fieldType, array $field, $value, $allowSelection, $renderMode)
 
static extractValue (FieldType $fieldType, array $field, array $request)
 
static getFieldOptions (FieldType $fieldType)
 
static getFieldSettings (FieldType $fieldType)
 
static normalizeOptions ($options)
 
- Защищенные статические члены унаследованные от Base
static getFormatCallable ($format)
 
static getFormatSeparator ($format)
 
static cleanErrors ()
 
static generateControlId (array $field)
 
static generateControlName (array $field)
 
static generateControlClassName (FieldType $fieldType, array $field)
 
static wrapCloneableControls (array $controls, $wrapperId)
 
static renderPublicMultipleWrapper (FieldType $fieldType, array $field, array $controls)
 
static renderControlSelector (array $field, $value=null, $showInput=false, $selectorMode='', FieldType $fieldType=null)
 
static renderControlSelectorButton ($controlId, FieldType $fieldType, $selectorMode='')
 

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

- Статические защищенные данные унаследованные от Base
static $formats
 
static $errors = []
 

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

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

Методы

◆ canRenderControl()

static canRenderControl ( $renderMode)
static
Аргументы
int$renderModeControl render mode.
Возвращает
bool

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

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

◆ convertPropertyToView()

static convertPropertyToView ( FieldType $fieldType,
int $viewMode,
array $property )
static

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

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

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

◆ convertValueMultiple()

static convertValueMultiple ( FieldType $fieldType,
$value,
$toTypeClass )
static
Аргументы
FieldType$fieldTypeDocument field type.
mixed$valueField value.
string$toTypeClassType class name.
Возвращает
array

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

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

◆ externalizeValue()

static externalizeValue ( FieldType $fieldType,
$context,
$value )
static
Аргументы
FieldType$fieldTypeDocument field type.
string$contextContext identification (Document, Variable etc.)
mixed$valueField value.
Возвращает
mixed

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

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

◆ extractValue()

static extractValue ( FieldType $fieldType,
array $field,
array $request )
staticprotected
Аргументы
FieldType$fieldType
array$field
array$request
Возвращает
null|mixed

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

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

◆ extractValueMultiple()

static extractValueMultiple ( FieldType $fieldType,
array $field,
array $request )
static
Аргументы
FieldType$fieldTypeDocument field type.
array$fieldForm field.
array$requestRequest data.
Возвращает
array

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

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

◆ formatValueMultiple()

static formatValueMultiple ( FieldType $fieldType,
$value,
$format = 'printable' )
static
Аргументы
FieldType$fieldTypeDocument field type.
mixed$valueField value.
string$formatFormat name.
Возвращает
string

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

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

◆ formatValuePrintable()

static formatValuePrintable ( FieldType $fieldType,
$value )
staticprotected
Аргументы
FieldType$fieldType
$value
Возвращает
string

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

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

◆ formatValueSingle()

static formatValueSingle ( FieldType $fieldType,
$value,
$format = 'printable' )
static
Аргументы
FieldType$fieldTypeDocument field type.
mixed$valueField value.
string$formatFormat name.
Возвращает
mixed|null

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

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

◆ getConversionMap()

static getConversionMap ( )
static

Return conversion map for current type.

Возвращает
array Map.

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

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

◆ getFieldOptions()

static getFieldOptions ( FieldType $fieldType)
staticprotected
Аргументы
FieldType$fieldType
Возвращает
array

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

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

◆ getFieldSettings()

static getFieldSettings ( FieldType $fieldType)
staticprotected

Get field settings

Аргументы
FieldType$fieldType
Возвращает
array

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

◆ getType()

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

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

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

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

◆ mergeValue()

static mergeValue ( FieldType $fieldType,
array $baseValue,
$appendValue )
static
Аргументы
FieldType$fieldTypeDocument field type.
array$baseValueBase value.
mixed$appendValueValue to append.
Возвращает
mixed Merge result.

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

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

◆ normalizeOptions()

static normalizeOptions ( $options)
staticprotected
Аргументы
mixed$options
Возвращает
array

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

◆ renderControl()

static renderControl ( FieldType $fieldType,
array $field,
$value,
$allowSelection,
$renderMode )
staticprotected
Аргументы
FieldType$fieldType
array$field
mixed$value
bool$allowSelection
int$renderMode
Возвращает
string

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

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

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

◆ renderControlMultiple()

static renderControlMultiple ( FieldType $fieldType,
array $field,
$value,
$allowSelection,
$renderMode )
static
Аргументы
FieldType$fieldTypeDocument field type.
array$fieldForm field.
mixed$valueField value.
bool$allowSelectionAllow selection flag.
int$renderModeControl render mode.
Возвращает
string

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

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

◆ renderControlOptions()

static renderControlOptions ( FieldType $fieldType,
$callbackFunctionName,
$value )
static
Аргументы
FieldType$fieldTypeDocument field type.
string$callbackFunctionNameClient callback function name.
mixed$valueField value.
Возвращает
string

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

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

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

◆ renderControlSingle()

static renderControlSingle ( FieldType $fieldType,
array $field,
$value,
$allowSelection,
$renderMode )
static
Аргументы
FieldType$fieldTypeDocument field type.
array$fieldForm field.
mixed$valueField value.
bool$allowSelectionAllow selection flag.
int$renderModeControl render mode.
Возвращает
string

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

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

◆ validateValueMultiple()

static validateValueMultiple ( $value,
FieldType $fieldType )
static

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

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

◆ validateValueSingle()

static validateValueSingle ( $value,
FieldType $fieldType )
static

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

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