Jeff PHP framework
0.99
Modular, extensible, OOP, MVC, lightweight php framework designed to ease the programmers in the development of web applications.
|
Page module controller. More...
Public Member Functions | |
__construct () | |
Constructs a page controller instance. | |
index () | |
Callback when calling a non existing method. | |
view ($id=null) | |
Page view. | |
Private Attributes | |
$_white_list = array("credits") | |
allowed pages id |
Page module controller.
Definition at line 28 of file page.controller.php.
Constructs a page controller instance.
Reimplemented from controller.
Definition at line 40 of file page.controller.php.
Callback when calling a non existing method.
Definition at line 53 of file page.controller.php.
pageController::view | ( | $ | id = null | ) |
Page view.
If the requested page is not listed in the white list the user is redirected to the home page
string | $id | page identifier (template name) |
Definition at line 65 of file page.controller.php.
pageController::$_white_list = array("credits") [private] |
allowed pages id
Definition at line 33 of file page.controller.php.