Methods |
public
|
init()
Initializes module.
|
#
|
public
|
onBeforeRegister(array &$aArgs, mixed &$mResult)
Writes to $aArgs['UserId'] user identifier obtained from Invitation link hash.
Writes to $aArgs['UserId'] user identifier obtained from Invitation link hash.
|
#
|
public
|
onAfterRegister(array $aArgs, mixed &$mResult)
Updates Invitation link hash in Min module.
Updates Invitation link hash in Min module.
|
#
|
public
|
onAfterCreateUserAccount(array $aArgs, mixed &$mResult)
Updates Invitation link hash in Min module for user with $aArgs['UserId'] identifier.
Updates Invitation link hash in Min module for user with $aArgs['UserId'] identifier.
|
#
|
public
|
onCreateOAuthAccount($aArgs, User &$oUser)
Writes to $oUser variable user object for Invitation link hash from cookie.
Writes to $oUser variable user object for Invitation link hash from cookie.
|
#
|
public
|
onAfterCreateUser(array $aArgs, mixed &$mResult)
Updates Invitation link hash in Min module for user with $aArgs['UserId'] identifier.
Updates Invitation link hash in Min module for user with $aArgs['UserId'] identifier.
|
#
|
public
|
onAfterDeleteUser($aArgs, $mResult)
Deletes hash which are owened by the specified user.
Deletes hash which are owened by the specified user.
|
#
|
public
|
GetSettings(): array
Obtains list of module settings for authenticated user.
Obtains list of module settings for authenticated user.
Overrides
|
#
|
public
|
CreateInvitationLinkHash(int $UserId): string
Create Invitation link hash for specified user.
Create Invitation link hash for specified user.
Parameters
|
#
|
public
|
SendNotification(string $Email, string $Hash)
|
#
|
public
|
GetInvitationLinkHash(int $UserId): string
Returns Invitation link hash for specified user.
Returns Invitation link hash for specified user.
Parameters
|
#
|
public
|
GetUserPublicId(string $InvitationLinkHash): string
Returns public id of user obtained from Invitation link hash.
Returns public id of user obtained from Invitation link hash.
Parameters
$InvitationLinkHash |
Invitation link hash with information about user and its registration status.
|
|
#
|