Открытые члены | |
__construct (int $userId) | |
check (string $action, AccessibleItem $item=null, $params=null) | |
checkByValue (string $action, string $value) | |
getPermissionValue (string $action) | |
isAdmin () | |
getAllowedDefaultStoreId () | |
checkCompleteRight (string $action) | |
![]() | |
__construct (int $userId) | |
getUser () | |
checkByItemId (string $action, int $itemId=null, $params=null) | |
check (string $action, AccessibleItem $item=null, $params=null) | |
batchCheck (array $request, AccessibleItem $item) | |
getEntityFilter (string $action, string $entityName, $params=null) | |
__construct (int $userId) | |
getUser () | |
getEntityFilter (string $action, string $entityName, $params=null) | |
checkByItemId (string $action, int $itemId=null, $params=null) | |
check (string $action, AccessibleItem $item=null, $params=null) | |
batchCheck (array $request, AccessibleItem $item) | |
Открытые статические члены | |
static | getCurrent () |
![]() | |
static | getInstance ($userId) |
static | can ($userId, string $action, $itemId=null, $params=null) |
static | can ($userId, string $action, $itemId=null, $params=null) |
Защищенные члены | |
loadItem (int $itemId=null) | |
loadUser (int $userId) | |
![]() | |
loadItem (int $itemId=null) | |
loadUser (int $userId) | |
getRuleName (string $action) | |
getRuleNamespace () | |
sendEvent (string $eventName, string $action, AccessibleItem $item=null, $params=null, bool $isAccess=null) | |
Защищенные данные | |
IblockRuleFactory | $iblockRuleFactory |
![]() | |
const | RULE_SUFFIX = 'Rule' |
$user | |
RuleFactory | $ruleFactory |
FilterFactory | $filterFactory |
Дополнительные унаследованные члены | |
![]() | |
static | $register = [] |
См. определение в файле AccessController.php строка 27
__construct | ( | int | $userId | ) |
@inheritDoc
Переопределяет метод предка BaseAccessController.
См. определение в файле AccessController.php строка 34
check | ( | string | $action, |
AccessibleItem | $item = null , |
||
$params = null |
|||
) |
Checking access rights by action
string | $action | |
AccessibleItem | null | $item | |
null | $params |
UnknownActionException |
Переопределяет метод предка BaseAccessController.
См. определение в файле AccessController.php строка 57
checkByValue | ( | string | $action, |
string | $value | ||
) |
См. определение в файле AccessController.php строка 73
checkCompleteRight | ( | string | $action | ) |
Returns true if user have full access to right $action or false otherwise
string | $action |
См. определение в файле AccessController.php строка 206
getAllowedDefaultStoreId | ( | ) |
Allowed default store id.
If the default store is unavailable, the first available warehouse is returned.
null
if there is no access to any warehouse. См. определение в файле AccessController.php строка 159
|
static |
См. определение в файле AccessController.php строка 43
getPermissionValue | ( | string | $action | ) |
string | $action |
См. определение в файле AccessController.php строка 86
isAdmin | ( | ) |
См. определение в файле AccessController.php строка 137
|
protected |
Переопределяет метод предка BaseAccessController.
См. определение в файле AccessController.php строка 142
|
protected |
Переопределяет метод предка BaseAccessController.
См. определение в файле AccessController.php строка 147
|
protected |
См. определение в файле AccessController.php строка 29