Jeff PHP framework  0.99
Modular, extensible, OOP, MVC, lightweight php framework designed to ease the programmers in the development of web applications.
pageController Class Reference

Page module controller. More...

+ Inheritance diagram for pageController:
+ Collaboration diagram for pageController:

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

Detailed Description

Page module controller.

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

Definition at line 28 of file page.controller.php.


Constructor & Destructor Documentation

Constructs a page controller instance.

Returns:
page controller instance

Reimplemented from controller.

Definition at line 40 of file page.controller.php.


Member Function Documentation

Callback when calling a non existing method.

Returns:
null

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

Parameters:
string$idpage identifier (template name)
Returns:
the requested page

Definition at line 65 of file page.controller.php.

+ Here is the call graph for this function:


Field Documentation

pageController::$_white_list = array("credits") [private]

allowed pages id

Definition at line 33 of file page.controller.php.


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