Метод getLatestDraftByTemplateId
Сигнатура метода
public static function getLatestDraftByTemplateId(int $templateId): ?array
Возвращает:
?array
Описание
The draft the editor itself works with: the freshest one of the template, without its configuration. Every selection of a draft for the editor goes through this method or its variant carrying the configuration, a template may have more than one draft.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/workflow/template/workflowtemplatedrafttable.php
Расположение метода в файле
Строки
93–96