UserGroupCollection
extends FlexCollection
in package
Class UserGroupCollection
Tags
Table of Contents
Methods
- authorize() : bool|null
- Checks user authorization to the action.
- getCachedMethods() : array<string|int, mixed>
- triggerEvent() : $this
- getActiveUser() : UserInterface|null
- getAuthorizeScope() : string
- getContainer() : Grav
- getFlexContainer() : Flex
- isAdminSite() : bool
Methods
authorize()
Checks user authorization to the action.
public
authorize(string $action[, string|null $scope = null ]) : bool|null
Parameters
- $action : string
- $scope : string|null = null
Return values
bool|nullgetCachedMethods()
public
static getCachedMethods() : array<string|int, mixed>
Return values
array<string|int, mixed>triggerEvent()
public
triggerEvent(string $name[, object|null $event = null ]) : $this
Parameters
- $name : string
- $event : object|null = null
Return values
$thisgetActiveUser()
protected
getActiveUser() : UserInterface|null
Return values
UserInterface|nullgetAuthorizeScope()
protected
getAuthorizeScope() : string
Return values
stringgetContainer()
protected
getContainer() : Grav
Return values
GravgetFlexContainer()
protected
getFlexContainer() : Flex
Return values
FlexisAdminSite()
protected
isAdminSite() : bool