method public static

InternalSelect::convertPropertyToView()

Класс: \Bitrix\Bizproc\BaseType\InternalSelect

Сигнатура

public static convertPropertyToView(FieldType $fieldType, int $viewMode, array<string|int, mixed> $property) : array<string|int, mixed>

Параметры

$fieldType FieldType
$viewMode int
$property array<string|int, mixed>

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

array<string|int, mixed>

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

InternalSelect::convertPropertyToView() — метод класса \Bitrix\Bizproc\BaseType\InternalSelect модуля «Бизнес-процессы».

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

use Bitrix\Main\Loader;
use Bitrix\Bizproc\BaseType\InternalSelect;

Loader::includeModule('bizproc');

$fieldType = null; // FieldType
$viewMode = 1;
$property = [];
$result = InternalSelect::convertPropertyToView($fieldType, $viewMode, $property);
// $result: array<string|int, mixed>

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

convertPropertyToView() есть и у других классов модуля «Бизнес-процессы»: Base, BoolType, Date, Datetime, Double, FieldType, File, IntType.

Исходный файл: source/bizproc/lib/basetype/internalselect.php:109

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