PHP Class Redaxscript\Controller\Reset

Since: 3.0.0
Author: Henry Ruhs
Author: Balázs Szilágyi
Inheritance: extends ControllerAbstract
Show file Open project: redaxmedia/redaxscript Class Usage Examples

Public Methods

Method Description
process ( ) : string process the class

Protected Methods

Method Description
_error ( array $errorArray = [] ) : string show the error
_mail ( array $mailArray = [] ) : boolean send the mail
_reset ( array $resetArray = [] ) : boolean reset the password
_success ( ) : string show the success
_validate ( array $postArray = [], object $user = null ) : array validate

Method Details

_error() protected method

show the error
Since: 3.0.0
protected _error ( array $errorArray = [] ) : string
$errorArray array array of the error
return string

_mail() protected method

send the mail
Since: 3.0.0
protected _mail ( array $mailArray = [] ) : boolean
$mailArray array array of the mail
return boolean

_reset() protected method

reset the password
Since: 3.0.0
protected _reset ( array $resetArray = [] ) : boolean
$resetArray array array of the reset
return boolean

_success() protected method

show the success
Since: 3.0.0
protected _success ( ) : string
return string

_validate() protected method

validate
Since: 3.0.0
protected _validate ( array $postArray = [], object $user = null ) : array
$postArray array array of the post
$user object object of the user
return array

process() public method

process the class
Since: 3.0.0
public process ( ) : string
return string