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

