HTML_Menu::render() – Renders the menu.


require_once 'HTML/Menu.php';

void HTML_Menu::render ( object HTML_Menu_Renderer &$renderer , string $menuType = '' )


All logic to actually create the output is contained in the renderer. render() just calls the appropriate method to traverse the menu structure.


object HTML_Menu_Renderer &$renderer

Renderer to use

string $menuType

type of the menu


throws PEAR_Error. If the renderer is not designed to handle this type of menu, it will throw an error.


This function can not be called statically.

Returns the path of the current page in the menu 'tree'. (Previous) Sets the menu structure. (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.