API17:JHtmlCategory
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|11.1}} JHtmlCategory== | ||
| + | ===Description=== | ||
| + | {{Description:JHtmlCategory}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JHtmlCategory|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JHtmlCategory|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public static | ||
|[[JHtmlCategory::categories/11.1|categories]] | |[[JHtmlCategory::categories/11.1|categories]] | ||
|Returns an array of categories for the given extension. | |Returns an array of categories for the given extension. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtmlCategory::options/11.1|options]] | |[[JHtmlCategory::options/11.1|options]] | ||
|Returns an array of categories for the given extension. | |Returns an array of categories for the given extension. | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/html/html/category.php | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.html.html.category' );</source> | <source lang="php">jimport( 'joomla.html.html.category' );</source> | ||
===See also=== | ===See also=== | ||
| − | * JHtmlCategory source code | + | * {{JVer|11.1}} '''JHtmlCategory source code''' on [[jplatform:html/html/category.php|BitBucket]] |
| − | * [[JHtmlCategory|Other versions of | + | * {{JVer|11.1}} Subpackage [[Subpackage Html/11.1|Html]] |
| + | * [[JHtmlCategory|Other versions of JHtmlCategory]] | ||
{{SeeAlso:JHtmlCategory}} | {{SeeAlso:JHtmlCategory}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JHtmlCategory|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JHtmlCategory|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 41: | Line 41: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JHtmlCategory]]</noinclude> | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JHtmlCategory]]</noinclude> | ||
Revision as of 18:04, 27 April 2011
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.
JHtmlCategory
Description
Description:JHtmlCategory [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public static | categories | Returns an array of categories for the given extension. |
| public static | options | Returns an array of categories for the given extension. |
- Defined in libraries/joomla/html/html/category.php
Importing
jimport( 'joomla.html.html.category' );
See also
-
JHtmlCategory source code on BitBucket
-
Subpackage Html
- Other versions of JHtmlCategory
SeeAlso:JHtmlCategory [Edit See Also]
User contributed notes
<CodeExamplesForm />
