User
Table of Contents
Methods
- __construct() : mixed
- fetchOriginatorUser() : self|null
- getFields() : array<string|int, mixed>
- getGender() : string|null
- getId() : int
- getInvitationCounterValue() : int
- getStructureSort() : array<string|int, mixed>
- Returns sorted array of user id.
- getTotalInvitationCounterValue() : int
- getUserRole() : UserRole
- getWaitConfirmationCounterValue() : int
- isAdmin() : bool
- isEmail() : bool
- isExternal() : bool
- isExtranet() : bool
- isInitializedUser() : bool
- isIntegrator() : bool
- isIntranet() : bool
- isShop() : bool
- numberOfInvitationsSent() : int
Methods
__construct()
public
__construct([int|null $userId = null ]) : mixed
Parameters
- $userId : int|null = null
Tags
fetchOriginatorUser()
public
fetchOriginatorUser() : self|null
Return values
self|nullgetFields()
public
getFields() : array<string|int, mixed>
Return values
array<string|int, mixed>getGender()
public
getGender() : string|null
Return values
string|nullgetId()
public
getId() : int
Return values
intgetInvitationCounterValue()
public
getInvitationCounterValue() : int
Return values
intgetStructureSort()
Returns sorted array of user id.
public
getStructureSort([bool $onlyActive = true ][, bool $withInvited = true ]) : array<string|int, mixed>
Flags for correct complex sorting
Parameters
- $onlyActive : bool = true
- $withInvited : bool = true
Tags
Return values
array<string|int, mixed>getTotalInvitationCounterValue()
public
getTotalInvitationCounterValue() : int
Return values
intgetUserRole()
public
getUserRole() : UserRole
Return values
UserRolegetWaitConfirmationCounterValue()
public
getWaitConfirmationCounterValue() : int
Return values
intisAdmin()
public
isAdmin() : bool
Return values
boolisEmail()
public
isEmail() : bool
Return values
boolisExternal()
public
isExternal() : bool
Return values
boolisExtranet()
public
isExtranet() : bool
Return values
boolisInitializedUser()
public
isInitializedUser() : bool
Return values
boolisIntegrator()
public
isIntegrator() : bool
Return values
boolisIntranet()
public
isIntranet() : bool
Return values
boolisShop()
public
isShop() : bool
Return values
boolnumberOfInvitationsSent()
public
numberOfInvitationsSent() : int