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

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

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

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

static renderControl (FieldType $fieldType, array $field, $value, $allowSelection, $renderMode)
 
static extractValue (FieldType $fieldType, array $field, array $request)
 
static formatValueServer (FieldType $fieldType, $value)
 
static formatValueAuthor (FieldType $fieldType, $value)
 
- Защищенные статические члены унаследованные от Base
static getFormatCallable ($format)
 
static getFormatSeparator ($format)
 
static formatValuePrintable (FieldType $fieldType, $value)
 
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 = []
 

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

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

Методы

◆ canRenderControl()

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

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

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

◆ compareValues()

static compareValues ( $valueA,
$valueB )
static
Аргументы
mixed$valueAFirst value.
mixed$valueBSecond value.
Возвращает
int Returns 1, -1 or 0

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

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

◆ externalizeValue()

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

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

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

◆ extractValue()

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

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

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

◆ formatValueAuthor()

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

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

◆ formatValueServer()

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

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

◆ getConversionMap()

static getConversionMap ( )
static

Return conversion map for current type.

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

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

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

◆ getFormats()

static getFormats ( )
static

Get formats list.

Возвращает
array

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

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

◆ getType()

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

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

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

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

◆ internalizeValue()

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

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

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

◆ renderControl()

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

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

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

◆ 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.

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

◆ 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.

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

◆ toSingleValue()

static toSingleValue ( FieldType $fieldType,
$value )
static

Normalize single value.

Аргументы
FieldType$fieldTypeDocument field type.
mixed$valueField value.
Возвращает
mixed Normalized value

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

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