Метод getNodeActionCatalog
Сигнатура метода
private function getNodeActionCatalog(?array $documentType): Activities
Возвращает:
Activities
Описание
The node-action catalog of one document context, walked once per request. The folder traversal behind it costs tens of milliseconds and does not depend on the node being asked about, so the white list of children (one ask per child) and the AI converters (one ask per node type) share it. Copies and never the remembered collection itself: ActivityDescription is mutable and consumers mutate what they get - the same copy contract as {@see Searcher::searchByCode()}, and a shallow copy holds only while the objects a description carries are not modified in place.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$documentType
|
?array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulesbizproc/lib/Internal/Service/Activity/ComplexActivityService.php