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

