Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
accessiblecontroller.php
1<?php
9namespace Bitrix\Main\Access;
10
11
13
15{
16 public static function can($userId, string $action, $itemId = null, $params = null): bool;
17
18 public function __construct(int $userId);
19
20 public function getUser(): AccessibleUser;
21
33 public function getEntityFilter(string $action, string $entityName, $params = null): ?array;
34
35 public function checkByItemId(string $action, int $itemId = null, $params = null): bool;
36
37 public function check(string $action, AccessibleItem $item = null, $params = null): bool;
38
39 public function batchCheck(array $request, AccessibleItem $item): array;
40}
getEntityFilter(string $action, string $entityName, $params=null)
batchCheck(array $request, AccessibleItem $item)
static can($userId, string $action, $itemId=null, $params=null)
checkByItemId(string $action, int $itemId=null, $params=null)
check(string $action, AccessibleItem $item=null, $params=null)