Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitModuleWikiController

Wiki::arbitModuleWikiController

Class arbitModuleWikiController

Base wiki controller.

Base wiki controller.

ezcMvcController
   |
   --arbitController
      |
      --arbitModuleWikiController
Author(s):
Version:   $Revision: 1696 $
License:   GPL

Member Variables

protected static string $namespace
Current wiki namespace, required for static calls, which cheack the existance of documents.

Current wiki namespace, required for static calls, which cheack the existance of documents.

Method Summary

public static bool exists( $page )
Check if a wiki page exists Check if a wiki page exists, by its name. set to the current namespace beforehand.
protected static void reportDashboardData( $project , $module )
Report updated dashboard infos
public arbitViewModuleModel diff( $request )
Diff two article versions Show a diff between two version of a wiki page.
public arbitViewModuleModel edit( $request )
Edit action Edit a wiki page.
protected array getMenu( )
Return the menu for the wiki controller
public arbitViewModuleModel history( $request )
History action
public arbitViewModuleModel index( $request )
Index action The index action just dispatches to the default view of the wiki module - the custom wiki configuration.
public arbitViewModuleModel last_edits( $request )
Last edits overview
public arbitViewModuleModel old( $request )
Show old article versions Show an older version of a wiki article.
public arbitViewModuleModel view( $request )
View action Show the most recent version of a wiki article, or files attached to a wiki document.

Inherited Methods

From arbitController
public static string arbitController::createActionMethodName()
Creates a method name to call from an action name.
public ezcMvcResult|ezcMvcInternalRedirect arbitController::createResult()
Runs the controller to process the query and return variables usable to render the view.
protected void arbitController::setRequestVariables()
Don't copy shit here.
public void arbitController::__call()
Wrapper for unknown actions Wrapper for unknown actions, which throws an exception instead of causing PHP to report a fatal error.

Methods

exists

static bool exists( string $page )

Check if a wiki page exists Check if a wiki page exists, by its name. set to the current namespace beforehand.

Check if a wiki page exists Check if a wiki page exists, by its name. The namespace should have been set to the current namespace beforehand.

Parameters:
Name Type Description
$page string

reportDashboardData

static void reportDashboardData( string $project , string $module )

Report updated dashboard infos

Report updated dashboard infos

Parameters:
Name Type Description
$project string
$module string

diff

arbitViewModuleModel diff( $request )

Diff two article versions Show a diff between two version of a wiki page.

Diff two article versions Show a diff between two version of a wiki page.

Parameters:
Name Type Description
$request arbitRequest

edit

arbitViewModuleModel edit( $request )

Edit action Edit a wiki page.

Edit action Edit a wiki page.

Parameters:
Name Type Description
$request arbitRequest

getMenu

array getMenu( )

Return the menu for the wiki controller

Return the menu for the wiki controller

history

arbitViewModuleModel history( $request )

History action

History action View wiki page change history

Parameters:
Name Type Description
$request arbitRequest

index

arbitViewModuleModel index( $request )

Index action The index action just dispatches to the default view of the wiki module - the custom wiki configuration.

Index action The index action just dispatches to the default view of the wiki module - the custom wiki configuration.

Parameters:
Name Type Description
$request arbitRequest

last_edits

arbitViewModuleModel last_edits( $request )

Last edits overview

Last edits overview Overview over the last edits in the curretn wiki namespace

Parameters:
Name Type Description
$request arbitRequest

old

arbitViewModuleModel old( $request )

Show old article versions Show an older version of a wiki article.

Show old article versions Show an older version of a wiki article.

Parameters:
Name Type Description
$request arbitRequest

view

arbitViewModuleModel view( $request )

View action Show the most recent version of a wiki article, or files attached to a wiki document.

View action Show the most recent version of a wiki article, or files attached to a wiki document.

Parameters:
Name Type Description
$request arbitRequest
Documentation generated on Mon, 05 Apr 2010 14:01:43 +0200 by phpDocumentor 1.4.3