Метод getModelRights
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
13–49
~/bitrix/modulestasks/lib/V2/Internal/Access/Service/ModelRightsTrait.php
Исходный код
Сигнатура метода
protected function getModelRights(Type $type, ControllerFactoryInterface $controllerFactory, array $rules, AccessibleItem $item, int $userId, array $params = []): array
Возвращает:
array
Параметры
6| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$type
|
Type
|
-
|
-
|
$controllerFactory
|
ControllerFactoryInterface
|
-
|
-
|
$rules
|
array
|
-
|
-
|
$item
|
AccessibleItem
|
-
|
-
|
$userId
|
int
|
-
|
-
|
$params
|
array
|
[]
|
-
|