IController Interface Reference
[Interfaces]
Controler interface. More...
Inheritance diagram for IController:
Public Member Functions |
|
| get_routes () | |
| Return array of
IRoute which are handled by this controller. |
|
| postprocess ($page_data) | |
| Invoked after page content has been created.
|
|
| preprocess ($page_data) | |
| Invoked after setting data and before
actions are processed. |
|
Detailed Description
Controler interface.
Definition at line 16 of file icontroller.cls.php.
Member Function Documentation
| IController::get_routes | ( | ) |
Return array of IRoute which are handled by this controller.
- Returns:
- array Array of IRoute that handle url calls
return array( new ExactMatchRoute('.', $this, 'page_index', 'Welcome To TripGuru'), new ExactMatchRoute('help', $this, 'page_help', 'Help on Finding your Trip'), );
Callback function has signature action_[name]($data).
Implemented in CommandsBaseController, ControllerBase, GsitemapController, OfflineController, PhpinfoController, RobotsController, SimpleTestController, IndexBaseController, StaticPagesController, StatusCommandsController, and SystemupdateController.
| IController::postprocess | ( | $ | page_data | ) |
Invoked after page content has been created.
Implemented in ControllerBase.
| IController::preprocess | ( | $ | page_data | ) |
Invoked after setting data and before actions are processed.
Implemented in ControllerBase.
The documentation for this interface was generated from the following file:
- gyro/core/lib/interfaces/icontroller.cls.php
