.

ControllerBase Class Reference
[Controller]

Base implementation for controllers. More...

Inheritance diagram for ControllerBase:
IController IEventSink CommandsBaseController GsitemapController IndexBaseController OfflineController PhpinfoController RobotsController SimpleTestController StaticPagesController StatusCommandsController SystemupdateController

List of all members.

Public Member Functions

  before_action ()
  Activates includes before action to reduce cache memory.
  get_routes ()
  Return array of Route instances which are handled by this controller.
  on_event ($name, $params, &$result)
  Invoked to handle events.
  postprocess ($page_data)
  Invoked after page content has been created.
  preprocess ($page_data)
  Invoked after setting data and before actions are processed.

Public Attributes

const  ACCESS_DENIED = 'denied'
const  INTERNAL_ERROR = 'internal error'
const  NOT_FOUND = 'not found'
const  OK = 'ok'
const  REDIRECT = 'redirect'

Detailed Description

Base implementation for controllers.

To be extended by all controllers

Author:
Gerd Riesselmann

Definition at line 10 of file controllerbase.cls.php.


Member Function Documentation

ControllerBase::before_action (  ) 

Activates includes before action to reduce cache memory.

Reimplemented in GsitemapController.

Definition at line 30 of file controllerbase.cls.php.

00030                                         {
00031         }       
ControllerBase::get_routes (  ) 

Return array of Route instances which are handled by this controller.

Returns:
array Array of Routes

Implements IController.

Reimplemented in CommandsBaseController, GsitemapController, OfflineController, PhpinfoController, RobotsController, SimpleTestController, IndexBaseController, StaticPagesController, StatusCommandsController, and SystemupdateController.

Definition at line 23 of file controllerbase.cls.php.

00023                                      {
00024                 return array();
00025         }
ControllerBase::on_event ( name,
params,
&$  result  
)

Invoked to handle events.

Implements IEventSink.

Reimplemented in PhpinfoController, and StaticPagesController.

Definition at line 48 of file controllerbase.cls.php.

00048                                                            {
00049         }
ControllerBase::postprocess ( page_data  ) 

Invoked after page content has been created.

Implements IController.

Definition at line 42 of file controllerbase.cls.php.

00042                                                 {
00043         }
ControllerBase::preprocess ( page_data  ) 

Invoked after setting data and before actions are processed.

Implements IController.

Definition at line 36 of file controllerbase.cls.php.

00036                                                {
00037         }

Member Data Documentation

Definition at line 15 of file controllerbase.cls.php.

const ControllerBase::INTERNAL_ERROR = 'internal error'

Definition at line 16 of file controllerbase.cls.php.

const ControllerBase::NOT_FOUND = 'not found'

Definition at line 14 of file controllerbase.cls.php.

const ControllerBase::OK = 'ok'

Definition at line 12 of file controllerbase.cls.php.

const ControllerBase::REDIRECT = 'redirect'

Definition at line 13 of file controllerbase.cls.php.


The documentation for this class was generated from the following file: