Метод getUnifiedPanelChildCodes
Сигнатура метода
public function getUnifiedPanelChildCodes(string $activityCode, ?array $documentType = null): array
Возвращает:
array
Описание
The children a node served by the unified settings panel may carry: the service activities of a conditional branch, the actions of the catalog of the node and the relation action its descriptor names. The one answer both surfaces of the panel read ({@see \Bitrix\Bizproc\Public\Activity\BaseComplexActivity::validateUnifiedPanelChild()}), so a second white list cannot appear. Answered as a set of normalized codes and memoized per node and document context: a child is compared against it by one array read, whatever the number of children the template gave the node.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$activityCode
|
string
|
—
|
—
|
$documentType
|
?array
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulesbizproc/lib/Internal/Service/Activity/ComplexActivityService.php