HTML_Menu::render()

HTML_Menu::render() -- Renders the menu.

概要

require_once 'HTML/Menu.php';

void HTML_Menu::render (object HTML_Menu_Renderer &$renderer [, string $menuType = ''])

説明

All logic to actually create the output is contained in the renderer. render() just calls the appropriate method to traverse the menu structure.

パラメータ

object HTML_Menu_Renderer &$renderer

Renderer to use

string $menuType

type of the menu

例外・エラー

throws PEAR_Error. If the renderer is not designed to handle this type of menu, it will throw an error.

注意

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