method
public
FieldType::convertPropertyToView()
Класс: \Bitrix\Bizproc\FieldType
Сигнатура
public convertPropertyToView(int $viewMode) : array<string|int, mixed>
Параметры
$viewMode
int
Возвращаемое значение
array<string|int, mixed>
Как применяется в FieldType
FieldType::convertPropertyToView() — метод класса \Bitrix\Bizproc\FieldType модуля «Бизнес-процессы».
Метод объекта: сначала нужен экземпляр FieldType.
use Bitrix\Main\Loader;
use Bitrix\Bizproc\FieldType;
Loader::includeModule('bizproc');
/** @var FieldType $object */
$viewMode = 1;
$result = $object->convertPropertyToView($viewMode);
// $result: array<string|int, mixed>Другие методы FieldType
canRenderControl()clearValue()convertUfType()convertValue()externalizeValue()extractValue()formatValue()getBaseType()getBaseTypesMap()Возвращает список поддерживаемых базовых типов.getDescription()getDocumentId()getDocumentType()
convertPropertyToView() есть и у других классов модуля «Бизнес-процессы»: Base, BoolType, Date, Datetime, Double, File, InternalSelect, IntType.
Исходный файл: source/bizproc/lib/fieldtype.php:649

