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

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

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

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

static formatValuePrintable (FieldType $fieldType, $value)
 
static getUserType (FieldType $fieldType)
 
- Защищенные статические члены унаследованные от 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 renderControl (FieldType $fieldType, array $field, $value, $allowSelection, $renderMode)
 
static renderControlSelector (array $field, $value=null, $showInput=false, $selectorMode='', FieldType $fieldType=null)
 
static renderControlSelectorButton ($controlId, FieldType $fieldType, $selectorMode='')
 
static extractValue (FieldType $fieldType, array $field, array $request)
 

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

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

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

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

Методы

◆ convertTo()

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

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

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

◆ extractValueSingle()

static extractValueSingle ( FieldType $fieldType,
array $field,
array $request )
static

Аргументы
FieldType$fieldTypeDocument field type.
array$fieldForm field.
array$requestRequest data.
Возвращает
mixed|null

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

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

◆ formatValuePrintable()

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

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

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

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

◆ getConversionMap()

static getConversionMap ( )
static

Return conversion map for current type.

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

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

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

◆ getType()

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

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

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

◆ getUserType()

static getUserType ( FieldType $fieldType)
staticprotected

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

◆ renderControlMultiple()

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

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

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

◆ renderControlSingle()

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

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

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