previous導入 (Previous) (Next) HTML_Menu::forceCurrentUrl()next

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

constructor HTML_Menu::HTML_Menu()

constructor HTML_Menu::HTML_Menu() – メニューを初期化し、型とメニュー構造を設定する

Synopsis

require_once 'HTML/Menu.php';

void constructor HTML_Menu::HTML_Menu ( array $menu = = null , string $type = 'tree' , string $urlEnvVar = 'PHP_SELF' )

Description

メニューを初期化し、メニュー構造とその型、 そして現在の URL を指定するために使用する変数を設定します。 すべてのパラメータはオプションで、あとで対応するメソッドで指定することができます。

Parameter

array $menu

メニュー構造

string $type

メニューの型: 'tree''rows''urhere''prevnext''sitemap'

string $urlEnvVar

現在の URL を決定するために使用する環境変数。

Throws

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

Note

This function can not be called statically.

previous導入 (Previous) (Next) HTML_Menu::forceCurrentUrl()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.