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

Menu class, a wrapper for main site and administrative area menus. More...

Public Member Functions

 __construct ($id)
 Constructs a menu instance.

Data Fields

 $voices
 array of menu voices

Private Member Functions

 initAdminMenu ()
 Administrative area menu voices initialization.
 initMainMenu ()
 Main site menu voices initialization.
 subVoices ($id)
 Main site menu subvoices.

Detailed Description

Menu class, a wrapper for main site and administrative area menus.

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

Definition at line 23 of file menu.php.


Constructor & Destructor Documentation

menu::__construct ( id)

Constructs a menu instance.

Parameters:
string$idmenu type ('main', 'admin')
Returns:
menu instance

Definition at line 36 of file menu.php.

+ Here is the call graph for this function:


Member Function Documentation

menu::initAdminMenu ( ) [private]

Administrative area menu voices initialization.

Returns:
void

Definition at line 49 of file menu.php.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

menu::initMainMenu ( ) [private]

Main site menu voices initialization.

Returns:
void

Definition at line 97 of file menu.php.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

menu::subVoices ( id) [private]

Main site menu subvoices.

Parameters:
int$idparent voice id
Returns:
array parent subvoices

Definition at line 122 of file menu.php.

+ Here is the call graph for this function:


Field Documentation

array of menu voices

Definition at line 28 of file menu.php.


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