Difference between revisions of "JHtmlMenu"
From Joomla! Documentation
(Layout updates) |
m (→User contributed notes: bad link repair) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} JHtmlMenu== | ||
+ | ===Description=== | ||
+ | {{Description:JHtmlMenu}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JHtmlMenu|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JHtmlMenu|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
+ | |public static | ||
|[[JHtmlMenu::linkoptions/11.1|linkoptions]] | |[[JHtmlMenu::linkoptions/11.1|linkoptions]] | ||
|Build the multiple select list for Menu Links/Pages. | |Build the multiple select list for Menu Links/Pages. | ||
|- | |- | ||
+ | |public static | ||
|[[JHtmlMenu::menuitemlist/11.1|menuitemlist]] | |[[JHtmlMenu::menuitemlist/11.1|menuitemlist]] | ||
|Displays an HTML select list of menu items. | |Displays an HTML select list of menu items. | ||
|- | |- | ||
+ | |public static | ||
|[[JHtmlMenu::menuitems/11.1|menuitems]] | |[[JHtmlMenu::menuitems/11.1|menuitems]] | ||
|Returns an array of menu items groups by menu. | |Returns an array of menu items groups by menu. | ||
|- | |- | ||
+ | |public static | ||
|[[JHtmlMenu::menus/11.1|menus]] | |[[JHtmlMenu::menus/11.1|menus]] | ||
|Get a list of the available menus. | |Get a list of the available menus. | ||
|- | |- | ||
+ | |public static | ||
|[[JHtmlMenu::ordering/11.1|ordering]] | |[[JHtmlMenu::ordering/11.1|ordering]] | ||
|Build the select list for Menu Ordering. | |Build the select list for Menu Ordering. | ||
|- | |- | ||
+ | |public static | ||
|[[JHtmlMenu::treerecurse/11.1|treerecurse]] | |[[JHtmlMenu::treerecurse/11.1|treerecurse]] | ||
| | | | ||
|- | |- | ||
|} | |} | ||
+ | * '''Defined in''' libraries/joomla/html/html/menu.php | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.html.html.menu' );</source> | <source lang="php">jimport( 'joomla.html.html.menu' );</source> | ||
===See also=== | ===See also=== | ||
− | * JHtmlMenu source code | + | * {{JVer|11.1}} '''JHtmlMenu source code''' on [[jplatform:html/html/menu.php|BitBucket]] |
− | * [[JHtmlMenu|Other versions of | + | * {{JVer|11.1}} Subpackage [[Subpackage Html/11.1|Html]] |
+ | * [[JHtmlMenu|Other versions of JHtmlMenu]] | ||
{{SeeAlso:JHtmlMenu}} | {{SeeAlso:JHtmlMenu}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JHtmlMenu|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JHtmlMenu|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 53: | Line 57: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JHtmlMenu]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JHtmlMenu]]</noinclude> |
Revision as of 13:52, 29 August 2012
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.
JHtmlMenu[edit]
Description[edit]
Template:Description:JHtmlMenu [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public static | linkoptions | Build the multiple select list for Menu Links/Pages. |
public static | menuitemlist | Displays an HTML select list of menu items. |
public static | menuitems | Returns an array of menu items groups by menu. |
public static | menus | Get a list of the available menus. |
public static | ordering | Build the select list for Menu Ordering. |
public static | treerecurse |
- Defined in libraries/joomla/html/html/menu.php
Importing[edit]
jimport( 'joomla.html.html.menu' );
See also[edit]
- JHtmlMenu source code on BitBucket
- Subpackage Html
- Other versions of JHtmlMenu
Template:SeeAlso:JHtmlMenu [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />