Метод completeWithUnifiedPanelProperties

private static

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

private static function completeWithUnifiedPanelProperties(string $code, CBPActivity $activity): void

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

Описание

Brings the service properties of the unified panel to an instance: the class of a translated node declares none of them, and `initializeFromArray()` silently drops a key the class does not declare - a setting configured in the panel would disappear the moment the process is loaded. A node declaring the property itself keeps its own declaration and its own default, so what the panel wrote is remembered apart ({@see self::$unifiedPanelDefaultsApplied}): only that answers later whether a property carries data of the process ({@see self::collectUntouchedUnifiedPanelProperties()}). The same verdict opens the container of children of the node: a node the panel serves may be given children by its template, only such a node ever owns them, and it is the node itself that runs them after its own logic ({@see self::executeWithPayload()}).

Параметры

2
Имя Тип По умолчанию Флаги
$code string —
—
$activity CBPActivity —
—

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

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

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

Исходный код

PHP