PHP Class Phosphorum\Controllers\PollsController

Inheritance: extends ControllerBase, use trait Phosphorum\Mvc\Controllers\TokenTrait
Afficher le fichier Open project: phalcon/forum

Méthodes publiques

Méthode Description
initialize ( ) This initializes the timezone in each request
voteAction ( integer $id, integer $option ) : Phalcon\Http\Response Votes for a poll option

Method Details

initialize() public méthode

This initializes the timezone in each request
public initialize ( )

voteAction() public méthode

Votes for a poll option
public voteAction ( integer $id, integer $option ) : Phalcon\Http\Response
$id integer Post ID
$option integer Option ID
Résultat Phalcon\Http\Response