HTML_Menu::forceCurrentUrl()

HTML_Menu::forceCurrentUrl() -- Forces the given URL to be "current"

Synopsis

require_once 'HTML/Menu.php';

void HTML_Menu::forceCurrentUrl (string $url)

Описание

Use this if you do not want to extract current URL from some environment variable (e.g. $_SERVER['PHP_SELF']) but rather use some custom logic to determine it.

Параметр

string $url

Url to use

Throws

throws no exceptions thrown

См. также

see HTML_Menu::setURLEnvVar(), HTML_Menu::getCurrentUrl()

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ