HTML_Menu::get() – Returns the HTML menu.


require_once 'HTML/Menu.php';

string HTML_Menu::get ( string $menuType = '' )


This method uses HTML_Menu_DirectRenderer for its work. The renderer is used with default templates, you should use the render() method if you want to customize the output.


string $menuType

Menu type: 'tree', 'rows', 'urhere', 'prevnext', 'sitemap'

Return value

returns HTML of the menu


throws no exceptions thrown


This function can not be called statically.

Forces the given URL to be "current" (Previous) Returns the URL of the currently selected page. (Next)
Last updated: Sun, 19 Feb 2017 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.