PHP Class Phosphorum\Controllers\RepliesController

Inheritance: extends ControllerBase, use trait Phosphorum\Mvc\Controllers\TokenTrait
Datei anzeigen Open project: phalcon/forum

Public Methods

Method 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 method

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

deleteAction() public method

Deletes a reply
public deleteAction ( integer $id ) : Phalcon\Http\Response
$id integer
return Phalcon\Http\Response

getAction() public method

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

historyAction() public method

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

initialize() public method

public initialize ( )

updateAction() public method

Updates a reply
public updateAction ( )

voteDownAction() public method

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

voteUpAction() public method

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