PHP Class Redaxscript\Controller\Comment

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

Public Methods

Method Description
process ( ) : string process the class

Protected Methods

Method Description
_create ( array $createArray = [] ) : boolean create the comment
_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
_warning ( array $warningArray = [] ) : string show the warning

Method Details

_create() protected method

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

_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

_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

_warning() protected method

show the warning
Since: 3.0.0
protected _warning ( array $warningArray = [] ) : string
$warningArray array array of the warning
return string

process() public method

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