HTML_Menu::getPath() – Returns the path of the current page in the menu 'tree'.


require_once 'HTML/Menu.php';

array HTML_Menu::getPath ( )


'Path' here means the sequence of entry IDs leading to the current menu entry.

Return value

returns path to the selected menu item


throws no exceptions thrown


This function can not be called statically.

Returns the URL of the currently selected page. (Previous) Renders the menu. (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.