Jeff PHP framework
0.99
Modular, extensible, OOP, MVC, lightweight php framework designed to ease the programmers in the development of web applications.
|
Controller class of the MVC pattern, is the class used to control a model object and call the desired views. More...
Public Member Functions | |
__construct () | |
Constructs a controller instance. | |
Protected Attributes | |
$_cpath | |
the absolute path of the controller class file | |
$_mdl_name | |
the module name | |
$_registry | |
the registry singleton instance | |
$_router | |
a router instance | |
$_view | |
a view instance |
Controller class of the MVC pattern, is the class used to control a model object and call the desired views.
This is the general controller class extended by all specific module controllers. It acts like an interface used to control and view the model data.
Clearly every module has its own public interfaces, so every controller is different.
That's why the controller class only implements the constructor method which instantiates some protected properties.
Definition at line 30 of file controller.class.php.
Constructs a controller instance.
Sets some properties: _registry, _router and _view.
Reimplemented in datetimeSettingsController, languageController, menuController, layoutController, groupController, privilegeController, siteSettingsController, userController, pageController, loginController, and indexController.
Definition at line 64 of file controller.class.php.
controller::$_cpath [protected] |
the absolute path of the controller class file
Definition at line 50 of file controller.class.php.
controller::$_mdl_name [protected] |
the module name
Definition at line 55 of file controller.class.php.
controller::$_registry [protected] |
the registry singleton instance
Definition at line 35 of file controller.class.php.
controller::$_router [protected] |
a router instance
Definition at line 40 of file controller.class.php.
controller::$_view [protected] |
a view instance
Definition at line 45 of file controller.class.php.