HTML_Menu::forceCurrentUrl()

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

概要

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 no exceptions thrown

参照

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

注意

この関数は、スタティックにコールする ことはできません。