ControllerBase Class Reference
[Controller]
Base implementation for controllers. More...
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
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.
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.
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.
ControllerBase::postprocess | ( | $ | page_data | ) |
Invoked after page content has been created.
Implements IController.
Definition at line 42 of file controllerbase.cls.php.
ControllerBase::preprocess | ( | $ | page_data | ) |
Invoked after setting data and before actions are processed.
Implements IController.
Definition at line 36 of file controllerbase.cls.php.
Member Data Documentation
const ControllerBase::ACCESS_DENIED = 'denied' |
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:
- gyro/core/controller/base/controllerbase.cls.php