API17

Difference between revisions of "JHtmlCategory::categories"

From Joomla! Documentation

m (JoomlaWikiBot moved page JHtmlCategory::categories/11.1 to API17:JHtmlCategory::categories without leaving a redirect: Robot: Moved page)
m (→‎See also: moving preparation)
(One intermediate revision by the same user not shown)
Line 37: Line 37:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JHtmlCategory::categories source code''' on [[jplatform:html/html/category.php#cl-80|BitBucket]]
 
* {{JVer|11.1}} '''JHtmlCategory::categories source code''' on [[jplatform:html/html/category.php#cl-80|BitBucket]]
* {{JVer|11.1}} Class [[JHtmlCategory/11.1|JHtmlCategory]]
+
* {{JVer|11.1}} Class [[API17:JHtmlCategory|JHtmlCategory]]
* {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]]
* [[JHtmlCategory::categories|Other versions of JHtmlCategory::categories]]
+
* [[API17:JHtmlCategory::categories|Other versions of JHtmlCategory::categories]]
 
{{SeeAlso:JHtmlCategory::categories}}
 
{{SeeAlso:JHtmlCategory::categories}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 55: Line 55:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JHtmlCategory]][[Category:JHtmlCategory::categories]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 20:52, 11 May 2013

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.

Joomla 11.1 JHtmlCategory::categories[edit]

Description[edit]

Returns an array of categories for the given extension.

Template:Description:JHtmlCategory::categories [Edit Descripton]

public static function categories (
        $extension
        $config=array('filter.published'=> array(0
        1
)
Parameter Type Default Description
$extension string The extension option.
$config array array('filter.published'=> array(0, 1)) An array of configuration options. By default, only published and unpulbished categories are returned.
  • Returns array
  • Defined on line 88 of libraries/joomla/html/html/category.php

See also[edit]

Template:SeeAlso:JHtmlCategory::categories [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />