Public Methods | |
| Menu ($name="Menu",$attrib='',$type="menu") | |
| constructor | |
| set_type ($type) | |
| to set type of menu | |
| add ($menu,$position='') | |
| add a menu object into another menu object as submenu | |
| rm ($position) | |
| remove a submenu object from this menu | |
| print_section ($position='',$print_selected,$indent=0) | |
| return html code of submenu | |
| print_menu ($position='',$print_all=0,$print_selected=1,$indent_px=0,$header=1) | |
| return menu html code | |
Public Attributes | |
| type | |
| name | |
| sub_menu | |
| attrib | |
| position | |
To create an html menu table
| type= | 'menu' css class |
| name | name of menu section |
| sub_menu | array of class Menu |
| attrib | associative array of attributs of this section, these are inserted in <a> tag as key="value" as its attributes |
| position | array of actual position |
Definition at line 624 of file html.php.
|
||||||||||||||||
|
constructor
|
|
||||||||||||
|
add a menu object into another menu object as submenu
|
|
||||||||||||||||||||||||
|
return menu html code
Definition at line 731 of file html.php. References name, position, print_section(), sub_menu, and type. |
|
||||||||||||||||
|
return html code of submenu
Definition at line 692 of file html.php. References attrib, position, and sub_menu. Referenced by print_menu(). |
|
|
remove a submenu object from this menu
|
|
|
to set type of menu
|
|
|
Definition at line 628 of file html.php. Referenced by Menu(), and print_section(). |
|
|
Definition at line 626 of file html.php. Referenced by Menu(), and print_menu(). |
|
|
Definition at line 629 of file html.php. Referenced by add(), print_menu(), print_section(), and rm(). |
|
|
Definition at line 627 of file html.php. Referenced by add(), print_menu(), print_section(), rm(), and set_type(). |
|
|
Definition at line 625 of file html.php. Referenced by Menu(), print_menu(), and set_type(). |
1.2.18