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.
例外・エラー
throws no exceptions thrown
注意
この関数は、スタティックにコールする
ことはできません。