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 Reference

Controller class of the MVC pattern, is the class used to control a model object and call the desired views. More...

+ Inheritance diagram for controller:

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

Detailed Description

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.

Author:
abidibo abidi.nosp@m.bo@g.nosp@m.mail..nosp@m.com
Version:
0.99
Date:
2011-2012

Definition at line 30 of file controller.class.php.


Constructor & Destructor Documentation

Constructs a controller instance.

Sets some properties: _registry, _router and _view.

Returns:
controller instance

Reimplemented in datetimeSettingsController, languageController, menuController, layoutController, groupController, privilegeController, siteSettingsController, userController, pageController, loginController, and indexController.

Definition at line 64 of file controller.class.php.

+ Here is the call graph for this function:


Field Documentation

controller::$_cpath [protected]

the absolute path of the controller class file

Definition at line 50 of file controller.class.php.

the module name

Definition at line 55 of file controller.class.php.

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.


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