Methods
|
public createInvitation(string $email, string $siteAccessName, string $hash[, int|null $roleId = null ][, int|null $groupId = null ][, string|null $limitation = null ][, string|null $limitationValue = null ]) : Invitation
|
Parameters
Name |
Type |
Default value |
Description |
$email
|
string
|
-
|
-
|
$siteAccessName
|
string
|
-
|
-
|
$hash
|
string
|
-
|
-
|
$roleId
|
int|null
|
null
|
-
|
$groupId
|
int|null
|
null
|
-
|
$limitation
|
string|null
|
null
|
-
|
$limitationValue
|
string|null
|
null
|
-
|
Return values
Invitation
Parameters
Name |
Type |
Default value |
Description |
$invitationsFilter
|
InvitationFilter|null
|
null
|
-
|
Return values
array<string|int, Invitation>
Parameters
Name |
Type |
Default value |
Description |
$hash
|
string
|
-
|
-
|
Return values
Invitation
|
public getInvitationForEmail(string $email) : Invitation
|
Parameters
Name |
Type |
Default value |
Description |
$email
|
string
|
-
|
-
|
Return values
Invitation
|
public invitationExistsForEmail(string $email) : bool
|
Parameters
Name |
Type |
Default value |
Description |
$email
|
string
|
-
|
-
|
Return values
bool
|
public markAsUsed(string $hash) : void
|
Parameters
Name |
Type |
Default value |
Description |
$hash
|
string
|
-
|
-
|
|
public refreshInvitation(string $hash, string $newHash) : Invitation
|
Parameters
Name |
Type |
Default value |
Description |
$hash
|
string
|
-
|
-
|
$newHash
|
string
|
-
|
-
|
Return values
Invitation