author Jorgen Evens
package WebLab
subpackage Dispatcher

 Methods

__construct()

__construct() 

Called if __init returns true, will do the routing to the correct action.

execute($action) : \*

Parameters

$action

Returns

\*

Called before calling the execute method.

__init() : boolean

Authentication or denying access can be done here. If returned true, execute will be called. Otherwise it will not.

Returns

boolean

Will be called when no valid action is found.

_default() 

This acts as a catch-all.

Define the name of the module, this makes reading the action more robust.

_getName() : String

Returns

String

 Properties

 

$layout 
 

$param