PHP Class Phosphorum\Controllers\RepliesController

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

Méthodes publiques

Méthode Description
acceptAction ( integer $id ) : Phalcon\Http\Response Accepts a reply as correct answer
deleteAction ( integer $id ) : Phalcon\Http\Response Deletes a reply
getAction ( $id ) : Phalcon\Http\Response Returns the raw comment as it as edited
historyAction ( integer $id ) Shows the latest modification made to a post reply
initialize ( )
updateAction ( ) Updates a reply
voteDownAction ( integer $id ) : Phalcon\Http\Response Votes a post down
voteUpAction ( integer $id ) : Phalcon\Http\Response Votes a post up

Method Details

acceptAction() public méthode

Accepts a reply as correct answer
public acceptAction ( integer $id ) : Phalcon\Http\Response
$id integer
Résultat Phalcon\Http\Response

deleteAction() public méthode

Deletes a reply
public deleteAction ( integer $id ) : Phalcon\Http\Response
$id integer
Résultat Phalcon\Http\Response

getAction() public méthode

Returns the raw comment as it as edited
public getAction ( $id ) : Phalcon\Http\Response
$id
Résultat Phalcon\Http\Response

historyAction() public méthode

Shows the latest modification made to a post reply
public historyAction ( integer $id )
$id integer The PostsReplies id.

initialize() public méthode

public initialize ( )

updateAction() public méthode

Updates a reply
public updateAction ( )

voteDownAction() public méthode

Votes a post down
public voteDownAction ( integer $id ) : Phalcon\Http\Response
$id integer
Résultat Phalcon\Http\Response

voteUpAction() public méthode

Votes a post up
public voteUpAction ( integer $id ) : Phalcon\Http\Response
$id integer
Résultat Phalcon\Http\Response