NodeMember
implements
Item
Table of Contents
Interfaces
- Item
Constants
-
DEFAULT_ROLE_XML_ID
= ['HEAD' => 'MEMBER_HEAD', 'EMPLOYEE' => 'MEMBER_EMPLOYEE', 'DEPUTY_HEAD' => 'MEMBER_DEPUTY_HEAD']
Properties
-
$active
: bool|null
-
$addedBy
: int|null
-
$createdAt
: DateTime|null
-
$entityId
: int
-
$entityType
: MemberEntityType
-
$icon
: string|null
-
$id
: int|null
-
$nodeId
: int
-
$role
: int|null
-
$roles
: array<string|int, int>
-
$updatedAt
: DateTime|null
Methods
-
__construct()
: mixed
DEFAULT_ROLE_XML_ID
public
mixed
DEFAULT_ROLE_XML_ID
= ['HEAD' => 'MEMBER_HEAD', 'EMPLOYEE' => 'MEMBER_EMPLOYEE', 'DEPUTY_HEAD' => 'MEMBER_DEPUTY_HEAD']
$active
public
bool|null
$active
= null
$addedBy
public
int|null
$addedBy
= null
$createdAt
public
DateTime|null
$createdAt
= null
$entityId
public
int
$entityId
$entityType
public
MemberEntityType
$entityType
$icon
public
string|null
$icon
= ''
$id
public
int|null
$id
= null
$nodeId
public
int
$nodeId
$role
public
int|null
$role
= null
$roles
public
array<string|int, int>
$roles
= []
$updatedAt
public
DateTime|null
$updatedAt
= null
__construct()
public
__construct(MemberEntityType $entityType, int $entityId, int $nodeId[, bool|null $active = null ][, array<string|int, mixed>|null $roles = [] ][, int|null $role = null ][, string|null $icon = '' ][, int|null $id = null ][, int|null $addedBy = null ][, DateTime|null $createdAt = null ][, DateTime|null $updatedAt = null ]) : mixed
Parameters
-
$entityType
: MemberEntityType
-
-
$entityId
: int
-
-
$nodeId
: int
-
-
$active
: bool|null
= null
-
-
$roles
: array<string|int, mixed>|null
= []
-
-
$role
: int|null
= null
-
-
$icon
: string|null
= ''
-
-
$id
: int|null
= null
-
-
$addedBy
: int|null
= null
-
-
$createdAt
: DateTime|null
= null
-
-
$updatedAt
: DateTime|null
= null
-