Метод hasPilot
Сигнатура метода
public function hasPilot(int $templateId): bool
Возвращает:
bool
Описание
Whether the template has a pilot version at all - the question asked before the audience is, on the start path of every process. The snapshot itself carries the executable scheme, and reading it to find out that the employee is not a participant is the heaviest way to learn nothing.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Repository/WorkflowTemplate/PilotVersionRepository.php
Расположение метода в файле
Строки
92–95