Docs Goabase

UserCheckMail
in package
uses TraitDataWrite, TraitEmbed, TraitPage

Table of Contents

Properties

$mail  : Mail

Methods

__construct()  : mixed
getDataWriteInstance()  : DataWrite
getEmbedInstance()  : Embed
getPageInstance()  : Page
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

Methods

sendMail()

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'

Tags
throws
Exception
throws
RandomException
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>
Tags
throws
Exception
Return values
string

getUserAsk()

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
Tags
throws
RandomException
Return values
string

        
On this page

Search results