FrontendGroupsRepository
Admin Panel Frontend Groups Repository
Table of Contents
Methods
- getAvailableFrontendUserGroups() : array
- returns an array of all available frontend user groups including hidden ones.
- getBackendUser() : FrontendBackendUserAuthentication
- getUserGroupOptionCountByBackendUser() : int
- fetches the amount of user groups
- getUserGroupsForPagesByBackendUser() : array
- 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
Return values
arraygetBackendUser()
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
Parameters
- $beUser : FrontendBackendUserAuthentication