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

