PHP Class Backend\Modules\Blog\Actions\Comments

Inheritance: extends Backend\Core\Engine\Base\ActionIndex
Mostra file Open project: forkcms/forkcms

Public Methods

Method Description
addPostData ( string $text, string $title, string $url, integer $id ) : string Add postdata into the comment
execute ( ) Execute the action

Protected Methods

Method Description
parse ( ) Parse & display the page

Private Methods

Method Description
loadDataGrids ( ) Loads the datagrids

Method Details

addPostData() public static method

Add postdata into the comment
public static addPostData ( string $text, string $title, string $url, integer $id ) : string
$text string The comment.
$title string The title for the blogarticle.
$url string The URL for the blogarticle.
$id integer The id of the comment.
return string

execute() public method

Execute the action
public execute ( )

parse() protected method

Parse & display the page
protected parse ( )