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

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

static getType ()
 
static internalizeValue (FieldType $fieldType, $context, $value)
 
static getFormats ()
 
static compareValues ($valueA, $valueB)
 
- Открытые статические члены унаследованные от Base
static getName ()
 
static getType ()
 
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 convertTo (FieldType $fieldType, $value, $toTypeClass)
 
static convertFrom (FieldType $fieldType, $value, $fromTypeClass)
 
static getConversionMap ()
 
static mergeValue (FieldType $fieldType, array $baseValue, $appendValue)
 
static addError ($error)
 
static addErrors (array $errors)
 
static getErrors ()
 
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 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 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 formatValueServer (FieldType $fieldType, $value)
 
static formatValueResponsible (FieldType $fieldType, $value)
 
static extractValue (FieldType $fieldType, array $field, array $request)
 
static renderControl (FieldType $fieldType, array $field, $value, $allowSelection, $renderMode)
 
static getResponsibleOffset (FieldType $fieldType)
 
- Защищенные статические члены унаследованные от 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 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 = []
 

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

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

Методы

◆ compareValues()

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

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

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

◆ extractValue()

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

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

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

◆ formatValueResponsible()

static formatValueResponsible ( FieldType  $fieldType,
  $value 
)
staticprotected

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

◆ formatValueServer()

static formatValueServer ( FieldType  $fieldType,
  $value 
)
staticprotected

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

◆ getFormats()

static getFormats ( )
static

Get formats list.

Возвращает
array

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

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

◆ getResponsibleOffset()

static getResponsibleOffset ( FieldType  $fieldType)
staticprotected

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

◆ getType()

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

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

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

◆ internalizeValue()

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

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

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

◆ renderControl()

static renderControl ( FieldType  $fieldType,
array  $field,
  $value,
  $allowSelection,
  $renderMode 
)
staticprotected

Low-level control rendering method

Аргументы
FieldType$fieldType
array$field
mixed$value
bool$allowSelection
int$renderMode
Возвращает
string - HTML rendering

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

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