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.

Forces the given URL to be "current" (Previous) Returns the URL of the currently selected page. (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.