method
public
static
UserTypePropertyEmployee::formatValueMultiple()
Сигнатура
public static formatValueMultiple(FieldType $fieldType, mixed $value[, string $format = 'printable' ]) : string
Параметры
$fieldType
FieldType
Тип поля документа.
$value
mixed
Значение поля.
$format
string
= 'printable'
Имя формата.
Возвращаемое значение
string
Как применяется в UserTypePropertyEmployee
UserTypePropertyEmployee::formatValueMultiple() — метод класса \Bitrix\Iblock\BizprocType\UserTypePropertyEmployee модуля «Информационные блоки».
Статический метод — вызывается через имя класса UserTypePropertyEmployee, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Iblock\BizprocType\UserTypePropertyEmployee;
Loader::includeModule('iblock');
$fieldType = null; // FieldType
$value = null;
$result = UserTypePropertyEmployee::formatValueMultiple($fieldType, $value);
// $result: stringДругие методы UserTypePropertyEmployee
addError()addErrors()addFormat()canRenderControl()clearValueMultiple()clearValueSingle()compareValues()convertFrom()convertPropertyToView()convertTo()convertValueMultiple()convertValueSingle()
formatValueMultiple() есть и у других классов модуля «Информационные блоки»: UserTypeProperty, UserTypePropertyDiskFile, UserTypePropertyElist, UserTypePropertyHtml.
Исходный файл: source/iblock/lib/bizproctype/usertypepropertyemployee.php:123

