Inherited Variables
Inherited Methods
Class Details
Class - eDContainer Menu Builder
The eDContainer Menu Builder is especially designed to create a visual menu from a content reference file. It uses a special _layout.php file to influence the visual layout of the menu produced. Please refer to the _content_en.php file on the root of eDContainer to get a sample of a well formed content reference file.
Tags:
- since - eDContainer v2.1
- version - 2.0
- author - Bertrand Potier <mailto:bpotier@edreamers.org>
[ Top ]
Class Variables
$arr_sections = array()
[line 29]
Type: mixed
Overrides:
[ Top ]
$url_root = ''
[line 30]
Type: mixed
Overrides:
[ Top ]
Class Methods
displayMenu
void displayMenu(
mixed
$url_root, mixed
$arr_sections, [mixed
$int_currentSection = null], [mixed
$template = 'menu.tpl'], boolean
$boo_showDescription)
[line 101]
Class Method - displayMenu
Generates the menu from a Smarty template
Parameters:
- boolean $boo_showDescription - show section description, true or false
[ Top ]
displaySitemap
void displaySitemap(
[mixed
$url_root = null], [mixed
$arr_sections = null], [mixed
$int_currentSection = null], [mixed
$template = 'menu.tpl'])
[line 72]
Parameters:
[ Top ]
menuBuilder
void menuBuilder(
string
$url_root, mixed
$arr_allSections, [string
$mode = 'basic'], [mixed
$arr_filter = null], [mixed
$int_currentSection = null], [mixed
$template = 'menu.tpl'], array
$arr_sections, mixed
$unk_section)
[line 42]
Class Constructor - menuBuilder
Triggers the creation of a new menu object
Parameters:
- array $arr_sections - an array containing an eDContainer compliant description of the instance sections and contents
- string $url_root - root URL from which the links to sections and contents will be built
- string $mode - eDreamers Component Generic Property
- mixed $unk_section - section id (integer) or array of sections' id to be included. By default all sections found in the $arr_sections are processed
[ Top ]