Метод resolveTemplateDocumentType
Сигнатура метода
private function resolveTemplateDocumentType(array $arFields, int $id): ?array
Возвращает:
?array
Описание
Document type the template being saved belongs to: the fields carry it whenever they change it, and an update that carries only the template itself keeps the type already stored. Without it the validation of the children of a node would ask the context-free action catalog while the editor offered the contextual one, and an action locked in this very context would pass ({@see self::validateTemplate()}).
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$arFields
|
array
|
—
|
—
|
$id
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/classes/general/workflowtemplateloader.php
Расположение метода в файле
Строки
214–230