Метод getEditorState

public

Сигнатура метода

public function getEditorState(int $templateId): PilotEditorState

Возвращает: PilotEditorState

Описание

Neutral - no pilot, no common version, nothing frozen - while the feature is off, and that mirrors the visibility rule the whole feature stands on: nothing of the pilot is shown anywhere while it is disabled, even when a snapshot is still stored (switching the feature off deletes no data). The freeze of the settings is unfolded here instead of being asked of the gate that guards the write of them: its condition is the two questions this method has just answered, and the gate would ask both of them a second time - the snapshot with its whole scheme included.

Параметры

1
Имя Тип По умолчанию Флаги
$templateId int —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Public/Service/WorkflowTemplate/PilotEditorStateService.php
Расположение метода в файле
Строки 63–92

Исходный код

PHP