Documentation

UserGroupCollection extends FlexCollection

Class UserGroupCollection

Tags
extends

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|null

getCachedMethods()

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
$this

getAuthorizeScope()

protected getAuthorizeScope() : string
Return values
string

isAdminSite()

protected isAdminSite() : bool
Return values
bool

        
On this page

Search results