previousIntroduction (Previous) (Next) HTML_Menu::forceCurrentUrl()next

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

constructor HTML_Menu::HTML_Menu()

constructor HTML_Menu::HTML_Menu() – Initialise le menu, définit le type et la structure

Synopsis

require_once 'HTML/Menu.php';

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

Description

Initialise le menu, définit la structure et le type du menu et les variables à utiliser pour déterminer l'URL courante. Tous les paramètres sont optionnels et peuvent être définis plus tard en utilisant les méthodes correspondantes.

Parameter

array $menu

Structure du menu

string $type

Type du menu : 'tree', 'rows', 'urhere', 'prevnext' ou 'sitemap'

string $urlEnvVar

Variable d'environnement à utiliser pour déterminer l'URL courante.

Throws

No exceptions thrown.

Note

This function can not be called statically.

previousIntroduction (Previous) (Next) HTML_Menu::forceCurrentUrl()next

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.