method public static

UserTypePropertyHtml::extractValueSingle()

Класс: \Bitrix\Iblock\BizprocType\UserTypePropertyHtml

Сигнатура

public static extractValueSingle(FieldType $fieldType, array<string|int, mixed> $field, array<string|int, mixed> $request) : mixed|null

Параметры

$fieldType FieldType
Тип поля документа.
$field array<string|int, mixed>
Поле формы.
$request array<string|int, mixed>
Данные запроса.

Возвращаемое значение

mixed|null

Как применяется в UserTypePropertyHtml

UserTypePropertyHtml::extractValueSingle() — метод класса \Bitrix\Iblock\BizprocType\UserTypePropertyHtml модуля «Информационные блоки».

Статический метод — вызывается через имя класса UserTypePropertyHtml, без создания объекта.

use Bitrix\Main\Loader;
use Bitrix\Iblock\BizprocType\UserTypePropertyHtml;

Loader::includeModule('iblock');

$fieldType = null; // FieldType
$field = [];
$request = [];
$result = UserTypePropertyHtml::extractValueSingle($fieldType, $field, $request);
// $result: mixed|null

Другие методы UserTypePropertyHtml

extractValueSingle() есть и у других классов модуля «Информационные блоки»: UserTypeProperty, UserTypePropertyDiskFile, UserTypePropertyElist, UserTypePropertyEmployee.

Исходный файл: source/iblock/lib/bizproctype/usertypepropertyhtml.php:672

Что будем искать? Например,Продвижение