Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
Оглавление
Using Pyrus, the PEAR Installer for PHP 5.3+
PEAR Developer Guide
Channels: distributing your packages
PEAR Packages
constructor HTML_Menu::HTML_Menu()
Вернуться к: HTML_Menu
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.
Parameter
- array $menu
- 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
Note
This function can not be called statically.
Вернуться к: HTML_Menu