HTML_Menu

目次
導入 -- メニュー構造とサポートされる出力モード
constructor HTML_Menu::HTML_Menu() -- Initializes the menu, sets the type and menu structure.
HTML_Menu::forceCurrentUrl() -- Forces the given URL to be "current"
HTML_Menu::get() -- Returns the HTML menu.
HTML_Menu::getCurrentURL() -- Returns the URL of the currently selected page.
HTML_Menu::getPath() -- Returns the path of the current page in the menu 'tree'.
HTML_Menu::render() -- Renders the menu.
HTML_Menu::setMenu() -- Sets the menu structure.
HTML_Menu::setMenuType() -- Sets the type of the menu.
HTML_Menu::setURLEnvVar() -- Sets the environment variable to use to get the current URL.
HTML_Menu::show() -- HTMLメニューを出力する
HTML_Menu_Rendererクラスの要約 -- HTML_Menuレンダラのための抽象的な基底クラス (パッケージ開発者用)
HTML_Menu_Renderer::finishMenu() -- Finish the menu (パッケージ開発者用)
HTML_Menu_Renderer::finishRow() -- Finish the row in the menu (パッケージ開発者用)
HTML_Menu_Renderer::renderEntry() -- Renders the element of the menu (パッケージ開発者用)
HTML_Menu_Renderer::setMenuType() -- Sets the type of the menu being rendered
HTML_Menu_DirectRendererクラスの要約 -- 単独ですべてのメニュー用のHTMLを生成するレンダラ
DirectRenderer::setEntryTemplate() -- Sets the template for menu entry.
DirectRenderer::setMenuTemplate() -- Sets the menu template (HTML that wraps around rows)
DirectRenderer::setRowTemplate() -- Sets the row template (HTML that wraps around entries)
DirectRenderer::toHtml() -- returns the HTML generated for the menu
HTML_Menu_ArrayRendererクラスの要約 -- 可視メニューエントリーの配列を作成するレンダラ
ArrayRenderer::toArray() -- returns the resultant array
HTML_Menu_SigmaRendererクラスの要約 --  HTML_Template_Sigmaのインスタンスをメニュー出力に使用するレンダラ。
constructor HTML_Menu_SigmaRenderer() -- Class constructor.
HTML_MenuBrowserクラスの要約 -- Simple filesystem browser that can be used to generated menu (3) hashes based on the directory structure.
constructor HTML_MenuBrowser::HTML_MenuBrowser() -- Creates the object and optionally sets the directory to scan.
HTML_MenuBrowser::addFileInfo() -- Adds further informations to the menu hash gathered from the files in it
HTML_MenuBrowser::browse() -- Recursive function that does the scan and builds the menu (3) hash.
HTML_MenuBrowser::exploreFile() -- Returns additional menu informations decoded in the file that appears in the menu.
HTML_MenuBrowser::getMenu() -- Returns a hash to be used with menu(3)'s setMenu().
HTML_MenuBrowser::setDirectory() -- Sets the directory to scan.
HTML_MenuBrowser::setIDPrefix() -- Sets the prefix for every id in the menu hash.
HTML_Menuパッケージ定数 -- HTML_Menuで使用する定義済み定数

HTML_Menuクラスは これだけで容易にウェブサイト用のナビゲーション構造を作り、 維持することができます。 多次元ハッシュ構造を使うことで異なるHTML出力モードをサポートします。