PEAR Manual
Prev |  | Next

# HTML_Menu::setMenu()

HTML_Menu::setMenu() -- Sets the menu structure.

## Synopsis

    require_once 'HTML/Menu.php';

``void HTML_Menu::setMenu` (array $menu)`

## Description

The menu structure is defined by a multidimensional hash.

## Parameter

array `$menu`

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
HTML_Menu::render() | Up | HTML_Menu::setMenuType()