constructor HTML_Menu::HTML_Menu()

constructor HTML_Menu::HTML_Menu() -- Initializes the menu, sets the type and menu structure.

Synopsis

require_once 'HTML/Menu.php';

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

Описание

Initializes the menu, sets the menu structure, type and variable to use for determining the current URL. All parameters are optional and can be set later by corresponding methods.

Параметр

array $menu

Menu structure

string $type

Menu type: 'tree', 'rows', 'urhere', 'prevnext', 'sitemap'

string $urlEnvVar

Environment variable to use for determining the current URL.

Throws

throws no exceptions thrown

См. также

see HTML_Menu::setMenuType(), HTML_Menu::setMenu(), HTML_Menu::setURLEnvVar().

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ