JHtmlMenu::menuitemlist
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
[edit]
Description[edit]
Displays an HTML select list of menu items.
Template:Description:JHtmlMenu::menuitemlist [Edit Descripton]
Synopsis[edit]
public static JHtmlMenu::menuitemlist ($name, $selected=null, $attribs=null, $config=array())
Parameter | Type | Default | Description |
---|---|---|---|
$name | string | The name of the control. | |
$selected | string | null | The value of the selected option. |
$attribs | string | null | Attributes for the control. |
$config | array | array() | An array of options for the control. |
Returns[edit]
string
Defined in[edit]
libraries/joomla/html/html/menu.php (line 139)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JHtmlMenu::menuitemlist
Examples[edit]
<CodeExamplesForm />