PHP Class Redaxscript\Controller\Login

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
_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

_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