UserGroup extends BaseContext
Table of Contents
Constants
- GUEST_USER_ID = 0
Methods
- __construct() : mixed
- UserGroup constructor.
- getUserGroups() : array<string|int, mixed>
- getUserGroupsHash() : mixed
- getUserId() : int
Constants
GUEST_USER_ID
public
mixed
GUEST_USER_ID
= 0
Methods
__construct()
UserGroup constructor.
public
__construct(array<string|int, mixed> $userGroups) : mixed
Parameters
- $userGroups : array<string|int, mixed>
getUserGroups()
public
getUserGroups() : array<string|int, mixed>
Return values
array<string|int, mixed>getUserGroupsHash()
public
getUserGroupsHash() : mixed
getUserId()
public
getUserId() : int