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.
$menu
$type
Menu type: 'tree'
, 'rows'
, 'urhere'
, 'prevnext'
, 'sitemap'
$urlEnvVar
Environment variable to use for determining the current URL.
throws no exceptions thrown
This function can not be called statically.