HTML_Menu::render()
HTML_Menu::render() – Renders the menu.
Synopsis
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.
Throws
throws PEAR_Error. If the renderer is not designed to handle this type of menu, it will throw an error.
Замечание
This function can not be called statically.
Пред. | HTML_Menu | След. |
HTML_Menu::getPath() | PEAR Руководство | HTML_Menu::setMenu() |