\Menu

Menu class helps to define the menu on the main page

Summary

Methods
Properties
Constants
__construct()
printMenu()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(  visibility = all,   selectedLang) : 

the constructor takes an array argument defining menu items.

the array must be indexed by strings which will be passed to user/cat_info.php a the page argument the values of the array can be either a simple string which is passed to user/cat_info.php as the title argument or an two element array - the first element of this array will be the title and the second is a style specification applied to the given menu item

Parameters

visibility
selectedLang

Returns

printMenu()

printMenu( menu = \NULL,  id = \NULL) : 

Parameters

menu
id

Returns