PHP Class Traq\Controllers\Wiki

Since: 3.0.0
Author: Jack P.
Inheritance: extends AppController
Exibir arquivo Open project: nirix/traq

Protected Properties

Property Type Description
$page Traq\Models\WikiPage

Public Methods

Method Description
__construct ( )
createAction ( )
destroyAction ( ) Delete wiki page.
editAction ( ) Edit wiki page.
newAction ( string $slug = null ) New page.
pagesAction ( ) Pages listing
revisionsAction ( ) Revisions listing.
saveAction ( ) Save wiki page.
showAction ( string $slug = 'main' ) Show page.

Protected Methods

Method Description
pageParams ( ) : array
revisionParams ( ) : array

Method Details

__construct() public method

public __construct ( )

createAction() public method

public createAction ( )

destroyAction() public method

Delete wiki page.
public destroyAction ( )

editAction() public method

Edit wiki page.
public editAction ( )

newAction() public method

New page.
public newAction ( string $slug = null )
$slug string

pageParams() protected method

protected pageParams ( ) : array
return array

pagesAction() public method

Pages listing
public pagesAction ( )

revisionParams() protected method

protected revisionParams ( ) : array
return array

revisionsAction() public method

Revisions listing.
public revisionsAction ( )

saveAction() public method

Save wiki page.
public saveAction ( )

showAction() public method

Show page.
public showAction ( string $slug = 'main' )
$slug string

Property Details

$page protected_oe property

protected WikiPage,Traq\Models $page
return Traq\Models\WikiPage