MemberService
MemberService.php
:
22
Constants¶
DEFAULT_COMPANY_MEMBERS_LIST_LIMIT ¶
MemberService.php
:
24
|
|
Methods¶
countCompanyMembers() ¶
MemberService.php
:
50
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$company | Company | - | - |
$filter | Criterion|null | null | - |
Return values
int
Tags
createMember() ¶
MemberService.php
:
75
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$company | Company | - | - |
$memberCreateStruct | MemberCreateStruct | - | - |
$role | Role | - | - |
Return values
Tags
deleteMember() ¶
MemberService.php
:
79
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$member | Member | - | - |
getCompanyContact() ¶
MemberService.php
:
83
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$company | Company | - | - |
Return values
Member|null
getCompanyMembers() ¶
MemberService.php
:
38
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$company | Company | - | - |
$filter | Criterion|null | null | - |
$sortClauses | array<string|int, SortClause> | [] | - |
$limit | int|null | MemberService::DEFAULT_COMPANY_MEMBERS_LIST_LIMIT | - |
$offset | int | 0 | - |
Return values
array<string|int, Member>
Tags
getMember() ¶
MemberService.php
:
26
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$memberId | int | - | - |
$company | Company | - | - |
Return values
getMemberAssignment() ¶
MemberService.php
:
52
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$member | Member | - | - |
$company | Company | - | - |
Return values
getMemberAssignmentByUser() ¶
MemberService.php
:
54
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$user | User | - | - |
$company | Company | - | - |
Return values
getMemberAssignments() ¶
MemberService.php
:
59
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$member | Member | - | - |
Return values
iterable<string|int, MemberAssignment>
getMemberAssignmentsByMemberId() ¶
MemberService.php
:
64
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$memberId | int | - | - |
Return values
iterable<string|int, MemberAssignment>
getRoleAssignment() ¶
MemberService.php
:
68
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$member | Member | - | - |
Return values
getRoleAssignmentByUser() ¶
MemberService.php
:
66
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$user | User | - | - |
$role | Role | - | - |
$locationPath | string | - | - |
Return values
newMemberCreateStruct() ¶
MemberService.php
:
85
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$login | string | - | - |
string | - | - | |
$password | string | - | - |
$contentType | ContentType|null | null | - |
Return values
newMemberUpdateStruct() ¶
MemberService.php
:
92
|
|
Return values
setMemberRole() ¶
MemberService.php
:
81
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$member | Member | - | - |
$role | Role | - | - |
updateMember() ¶
MemberService.php
:
77
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$member | Member | - | - |
$memberUpdateStruct | MemberUpdateStruct | - | - |