PEAR Manual
Prev |  | Next

# HTML_Menu::getCurrentURL()

HTML_Menu::getCurrentURL() -- Returns the URL of the currently selected page.

## Synopsis

    require_once 'HTML/Menu.php';

``string HTML_Menu::getCurrentURL` ()`

## Description

The returned string is used for all test against the URL's in the menu structure hash.

## Throws

throws no exceptions thrown

## See

see HTML_Menu::setURLEnvVar(), HTML_Menu::forceCurrentUrl().

## Note

This function can not be called statically.

Prev | Home | Next
HTML_Menu::get() | Up | HTML_Menu::getPath()