Class UserMailer
Mailer class to send notifications to users
-
Cake\Mailer\Mailer
-
BEdita\Core\Mailer\UserMailer
Methods summary
public
Cake\Mailer\Mailer
|
#
welcome( array $options )
Welcome message.
It requires $options['params'] with:
- user the user Entity to send welcome email
Parameters
Returns
Cake\Mailer\Mailer
Throws
LogicException When missing some required parameter
|
public
Cake\Mailer\Mailer
|
#
signup( array $options )
Signup message.
It requires $options['params'] with:
- user the User Entity to send signup email
- activationUrl the activation url to follow
Parameters
Returns
Cake\Mailer\Mailer
Throws
LogicException When missing some required parameter
|
public
Cake\Mailer\Mailer
|
#
changeRequest( array $options )
Credentials change message.
Credentials change message.
It requires $options['params'] with:
- user the user id to send signup email
- changeUrl the change url to follow
Parameters
Returns
Cake\Mailer\Mailer
Throws
LogicException When missing some required parameter
|
protected
|
#
checkUser( BEdita\Core\Model\Entity\User $user )
Check the user is valid.
Parameters
Throws
LogicException When user is not valid
|
protected
string
|
#
getProjectName( )
Get the project name.
It tries to get the application name (default 'BEdita')
Get the project name.
It tries to get the application name (default 'BEdita')
Returns
string
|