UserInformationService
Transform information of user and groups into better format
Table of Contents
Properties
Methods
- __construct() : mixed
- getGroupInformation() : array<string|int, mixed>
- Get all relevant information for a backend usergroup
- getUserInformation() : array<string|int, mixed>
- Get all relevant information of the user
- convert() : array<string|int, mixed>
- Convert hard readable user & group information into structured data which can be rendered later
- getAllSiteLanguages() : array<string|int, mixed>
Properties
$iconFactory
protected
IconFactory
$iconFactory
Methods
__construct()
public
__construct(IconFactory $iconFactory) : mixed
Parameters
- $iconFactory : IconFactory
getGroupInformation()
Get all relevant information for a backend usergroup
public
getGroupInformation(int $groupId) : array<string|int, mixed>
Parameters
- $groupId : int
Return values
array<string|int, mixed>getUserInformation()
Get all relevant information of the user
public
getUserInformation(int $userId) : array<string|int, mixed>
Parameters
- $userId : int
Return values
array<string|int, mixed>convert()
Convert hard readable user & group information into structured data which can be rendered later
protected
convert(BackendUserAuthentication $user) : array<string|int, mixed>
Parameters
- $user : BackendUserAuthentication
Return values
array<string|int, mixed>getAllSiteLanguages()
protected
getAllSiteLanguages() : array<string|int, mixed>