previousconstructor HTML_Menu::HTML_Menu() (Previous) (Next) HTML_Menu::get()next

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTML_Menu::forceCurrentUrl()

HTML_Menu::forceCurrentUrl() – 指定した URL を強制的に "現在の" URL にする

Synopsis

require_once 'HTML/Menu.php';

void HTML_Menu::forceCurrentUrl ( string $url )

Description

これを使うのは、現在の URL を環境変数 (たとえば $_SERVER['PHP_SELF'] など) から取得するのではなく独自のロジックで決定したい場合です。

Parameter

string $url

使用する URL。

Throws

例外はスローされません。

Note

This function can not be called statically.

previousconstructor HTML_Menu::HTML_Menu() (Previous) (Next) HTML_Menu::get()next

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.