method
public
static
InternalSelect::formatValueMultiple()
Сигнатура
public static formatValueMultiple(FieldType $fieldType, mixed $value[, string $format = 'printable' ]) : string
Параметры
$fieldType
FieldType
Тип поля документа.
$value
mixed
Значение поля.
$format
string
= 'printable'
Имя формата.
Возвращаемое значение
string
Как применяется в InternalSelect
InternalSelect::formatValueMultiple() — метод класса \Bitrix\Bizproc\BaseType\InternalSelect модуля «Бизнес-процессы».
Статический метод — вызывается через имя класса InternalSelect, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Bizproc\BaseType\InternalSelect;
Loader::includeModule('bizproc');
$fieldType = null; // FieldType
$value = null;
$result = InternalSelect::formatValueMultiple($fieldType, $value);
// $result: stringДругие методы InternalSelect
addError()addErrors()addFormat()canRenderControl()clearValueMultiple()clearValueSingle()compareValues()convertFrom()convertPropertyToView()convertTo()convertValueMultiple()convertValueSingle()
formatValueMultiple() есть и у других классов модуля «Бизнес-процессы»: Base, BoolType, Date, Datetime, Double, File, IntType, Select.
Исходный файл: source/bizproc/lib/basetype/internalselect.php:457

