PHP Class Phosphorum\Controllers\ControllerBase

Inheritance: extends Phalcon\Mvc\Controller
Mostra file Open project: phalcon/forum Class Usage Examples

Public Methods

Method Description
initialize ( ) This initializes the timezone in each request
onConstruct ( )

Protected Methods

Method Description
checkCaptcha ( ) : boolean Validation Google captcha
isUserTrust ( ) : boolean
prepareQueries ( boolean $joinReply = false ) : array This method prepares the queries to be executed in each list of posts The returned builders are used as base in the search, tagged list and index lists

Method Details

checkCaptcha() protected method

Validation Google captcha
protected checkCaptcha ( ) : boolean
return boolean

initialize() public method

This initializes the timezone in each request
public initialize ( )

isUserTrust() protected method

protected isUserTrust ( ) : boolean
return boolean

onConstruct() public method

public onConstruct ( )

prepareQueries() protected method

This method prepares the queries to be executed in each list of posts The returned builders are used as base in the search, tagged list and index lists
protected prepareQueries ( boolean $joinReply = false ) : array
$joinReply boolean
return array