PEAR Manual
Prev |  | Next

# HTML_Menu::getPath()

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

## Synopsis

    require_once 'HTML/Menu.php';

``array HTML_Menu::getPath` ()`

## Description

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

## Return value

returns path to the selected menu item

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
HTML_Menu::getCurrentURL() | Up | HTML_Menu::render()