HTML_Menu::setURLEnvVar()

HTML_Menu::setURLEnvVar() – Sets the environment variable to use to get the current URL.

Synopsis

require_once 'HTML/Menu.php';

void HTML_Menu::setURLEnvVar ( string $urlEnvVar )

Description

The default variable name is 'PHP_SELF', which means 'current script name'.

Parameter

string $urlEnvVar

environment variable for current URL

Throws

throws no exceptions thrown

Note

This function can not be called statically.