FrontendGroupsRepository
Admin Panel Frontend Groups Repository
Table of Contents
Methods
- getAvailableFrontendUserGroups() : array<string|int, mixed>
- returns an array of all available frontend user groups including hidden ones.
- getBackendUser() : FrontendBackendUserAuthentication
- Returns the current BE user.
- getUserGroupOptionCountByBackendUser() : int
- fetches the amount of user groups
- getUserGroupsForPagesByBackendUser() : array<string|int, mixed>
- fetches all frontend user groups, except deleted, for pages
Methods
getAvailableFrontendUserGroups()
returns an array of all available frontend user groups including hidden ones.
public
getAvailableFrontendUserGroups() : array<string|int, mixed>
Return values
array<string|int, mixed>getBackendUser()
Returns the current BE user.
protected
getBackendUser() : FrontendBackendUserAuthentication
Return values
FrontendBackendUserAuthenticationgetUserGroupOptionCountByBackendUser()
fetches the amount of user groups
protected
getUserGroupOptionCountByBackendUser(FrontendBackendUserAuthentication $beUser) : int
Parameters
- $beUser : FrontendBackendUserAuthentication
Return values
intgetUserGroupsForPagesByBackendUser()
fetches all frontend user groups, except deleted, for pages
protected
getUserGroupsForPagesByBackendUser(FrontendBackendUserAuthentication $beUser) : array<string|int, mixed>
Parameters
- $beUser : FrontendBackendUserAuthentication