PHP Class Traq\Controllers\Wiki

Since: 3.0.0
Author: Jack P.
Inheritance: extends AppController
Afficher le fichier Open project: nirix/traq

Protected Properties

Свойство Type Description
$page Traq\Models\WikiPage

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
pageParams ( ) : array
revisionParams ( ) : array

Method Details

__construct() public méthode

public __construct ( )

createAction() public méthode

public createAction ( )

destroyAction() public méthode

Delete wiki page.
public destroyAction ( )

editAction() public méthode

Edit wiki page.
public editAction ( )

newAction() public méthode

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

pageParams() protected méthode

protected pageParams ( ) : array
Résultat array

pagesAction() public méthode

Pages listing
public pagesAction ( )

revisionParams() protected méthode

protected revisionParams ( ) : array
Résultat array

revisionsAction() public méthode

Revisions listing.
public revisionsAction ( )

saveAction() public méthode

Save wiki page.
public saveAction ( )

showAction() public méthode

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

Property Details

$page protected_oe property

protected WikiPage,Traq\Models $page
Résultat Traq\Models\WikiPage