Difference between revisions of "JHtmlMenu::menuitemlist"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JHtmlMenu::menuitemlist|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JHtmlMenu::menuitemlist|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function menuitemlist ( |
+ | $name | ||
+ | $selected=null | ||
+ | $attribs=null | ||
+ | $config=array | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 40: | Line 44: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' string | |
− | string | + | * '''Defined''' on line 139 of libraries/joomla/html/html/menu.php |
− | |||
− | libraries/joomla/html/html/menu.php | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JHtmlMenu::menuitemlist source code''' on [[jplatform:html/html/menu.php#cl-131|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JHtmlMenu/11.1|JHtmlMenu]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]] | ||
+ | * [[JHtmlMenu::menuitemlist|Other versions of JHtmlMenu::menuitemlist]] | ||
+ | {{SeeAlso:JHtmlMenu::menuitemlist}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JHtmlMenu::menuitemlist|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JHtmlMenu::menuitemlist|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 60: | Line 63: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JHtmlMenu]][[Category:JHtmlMenu::menuitemlist]]</noinclude> | <noinclude>[[Category:JHtmlMenu]][[Category:JHtmlMenu::menuitemlist]]</noinclude> |
Revision as of 21:08, 27 April 2011
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]
public static function 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 string
- Defined on line 139 of libraries/joomla/html/html/menu.php
See also[edit]
- JHtmlMenu::menuitemlist source code on BitBucket
- Class JHtmlMenu
- Subpackage Html
- Other versions of JHtmlMenu::menuitemlist
Template:SeeAlso:JHtmlMenu::menuitemlist [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />