Метод isServedByUnifiedPanel

protected static

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

protected static function isServedByUnifiedPanel(string $activityCode): bool

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

Описание

The one recognition point of "this activity is served by the unified settings panel", and a second one must not appear: the very same verdict opens the container of children of a node ({@see self::completeWithUnifiedPanelProperties()}), keeps the white list of those children ({@see self::validateChild()}) and tells the root of a node process that a child owning children of its own is a legitimate one ({@see CBPNodeWorkflowActivity::validateChild()}). Answered by the descriptor alone - no database, no activity class - and memoized per activity code, so asking it on the path every template is saved through costs one read per code and per request.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/classes/general/activity.php
Расположение метода в файле
Строки 1943–1946

Исходный код

PHP