types.inc
Interfaces, Classes, Traits and Enums
- ConfiguredType
- Represents a configured account type variant.
- ListAttribute
- An attribute definition for the account list.
- TypeManager
- Provides utility functions to get e.g. configured types.
Table of Contents
- getTypes() : array<string|int, mixed>
- Returns a list of available account types.
- getTypeDescription() : string
- Returns the description of an account type.
- getScopeFromTypeId() : string
- Returns the account type for a given type id.
Functions
getTypes()
Returns a list of available account types.
getTypes() : array<string|int, mixed>
Return values
array<string|int, mixed> —list of types
getTypeDescription()
Returns the description of an account type.
getTypeDescription(string $type) : string
Parameters
- $type : string
-
type name
Return values
string —type description
getScopeFromTypeId()
Returns the account type for a given type id.
getScopeFromTypeId(string $typeId) : string
Parameters
- $typeId : string
-
type id (e.g. user_1)
Return values
string —scope (e.g. user)