HTML_Menu::forceCurrentUrl() HTML_Menu::getCurrentURL()

HTML_Menu

PEAR Manual


HTML_Menu::get()

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

Synopsis

      require_once 'HTML/Menu.php';
     

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

Description

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.

Parameter

string $menuType

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

Return value

returns HTML of the menu

Throws

throws no exceptions thrown

Note

This function can not be called statically.



HTML_Menu::forceCurrentUrl() HTML_Menu::getCurrentURL()

HTML_Menu

PEAR Manual