UserCheckMail
in package
uses
TraitDataWrite, TraitEmbed, TraitData
Read onlyYes
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- getDataInstance() : Data
- getDataWriteInstance() : DataWrite
- getEmbedInstance() : Embed
- sendMail() : array{'displayForm': int, 'message': string}
- Sends either a password reset email or an account activation email based on the specified type.
- getNoSendMsg() : string
- getUserAsk() : array<string|int, mixed>
- user who asked for pw get by mail
- setMailToken() : string
Properties
$data
private
Data
$data
private
Mail
$mail
$page
private
Page
$page
Methods
__construct()
public
__construct(Page $page) : mixed
Parameters
- $page : Page
getDataInstance()
public
getDataInstance() : Data
Return values
DatagetDataWriteInstance()
public
getDataWriteInstance() : DataWrite
Return values
DataWritegetEmbedInstance()
public
getEmbedInstance() : Embed
Return values
EmbedsendMail()
Sends either a password reset email or an account activation email based on the specified type.
public
sendMail(string $strUserEmail[, string $type = 'sendpass' ]) : array{'displayForm': int, 'message': string}
Parameters
- $strUserEmail : string
- $type : string = 'sendpass'
-
'sendpass' or 'activate'
Return values
array{'displayForm': int, 'message': string}getNoSendMsg()
private
getNoSendMsg(bool $bSend, array<string|int, mixed> $saUserAsk, string $strUserEmail, array<string|int, mixed> $saComposedEmail) : string
Parameters
- $bSend : bool
- $saUserAsk : array<string|int, mixed>
- $strUserEmail : string
- $saComposedEmail : array<string|int, mixed>
Return values
stringgetUserAsk()
user who asked for pw get by mail
private
getUserAsk(string $strThisEmail) : array<string|int, mixed>
Parameters
- $strThisEmail : string
Return values
array<string|int, mixed>setMailToken()
private
setMailToken(int $nUserID) : string
Parameters
- $nUserID : int