method public static

Double::convertPropertyToView()

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

Сигнатура

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>

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

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

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

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

Loader::includeModule('bizproc');

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

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

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

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

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