MenuRoot Class Reference

Inheritance diagram for MenuRoot:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 28 of file class.MenuRoot.php.

Public Member Functions

 MenuRoot ($id="MenuRoot")
 write_xml ($fname)
 writes the menu as an XML file
 write_js ($fname)
 writes the menu as a JS file
 to_xml ()
 returns the menus as an XML string
 to_js ()
 Returns the JavaScript array with the menu items.


Constructor & Destructor Documentation

MenuRoot::MenuRoot id = "MenuRoot"  ) 
 

Definition at line 30 of file class.MenuRoot.php.

References MenuItem::MenuItem().


Member Function Documentation

MenuRoot::write_xml fname  ) 
 

writes the menu as an XML file

Definition at line 36 of file class.MenuRoot.php.

MenuRoot::write_js fname  ) 
 

writes the menu as a JS file

Definition at line 42 of file class.MenuRoot.php.

MenuRoot::to_xml  ) 
 

returns the menus as an XML string

Definition at line 48 of file class.MenuRoot.php.

References MenuItem::children_to_xml().

MenuRoot::to_js  ) 
 

Returns the JavaScript array with the menu items.

Definition at line 63 of file class.MenuRoot.php.

References MenuItem::nr_children().


Generated on Fri Jan 20 10:35:11 2006 for HGSM by  doxygen 1.4.5