PHP Class Redaxscript\Controller\Register

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

Protected Methods

Method Description
_create ( array $createArray = [] ) : boolean create the user
_error ( array $errorArray = [] ) : string show the error
_mail ( array $mailArray = [] ) : boolean send the mail
_success ( array $successArray = [] ) : string show the success
_validate ( array $postArray = [] ) : array validate

Method Details

_create() protected method

create the user
Since: 3.0.0
protected _create ( array $createArray = [] ) : boolean
$createArray array
return boolean

_error() protected method

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

_mail() protected method

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

_success() protected method

show the success
Since: 3.0.0
protected _success ( array $successArray = [] ) : string
$successArray array array of the success
return string

_validate() protected method

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

process() public method

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