Метод getPermissions
Сигнатура метода
public function getPermissions(): array
Возвращает:
array
Описание
The builder asks the entity for its permissions once per rendered right and once more per matrix cell of every role, and it only reads the controls it gets back. The entity is immutable, so one built set serves every call instead of rebuilding five actions, three controls and their captions each time.
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Integration/UI/AccessRights/V2/Structure/Entity/Template.php
Расположение метода в файле
Строки
60–65