Метод hasPilot
Сигнатура метода
public function hasPilot(int $templateId): bool
Возвращает:
bool
Описание
Whether a pilot acts on the template, and the only question the operations over a live pilot ask before they act: the snapshot carries the whole executable scheme, and reading it to learn that the pilot is there is the heaviest way to learn it.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Public/Service/WorkflowTemplate/PilotEditorStateService.php
Расположение метода в файле
Строки
39–42