API17:JHtmlMenu
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
m (→User contributed notes: bad link repair) |
||
| (One intermediate revision by one 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
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JHtmlMenu
Description
Description:JHtmlMenu [Edit Descripton]
Methods
| 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
jimport( 'joomla.html.html.menu' );
See also
-
JHtmlMenu source code on BitBucket
-
Subpackage Html
- Other versions of JHtmlMenu
SeeAlso:JHtmlMenu [Edit See Also]
User contributed notes
<CodeExamplesForm />
