API17:JHtmlCategory::categories
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 33: | Line 33: | ||
array | array | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/html/html/category.php | + | libraries/joomla/html/html/category.php (line 88) |
| + | * see source code in [[jplatform:html/html/category.php#cl-88|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 20:41, 23 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::categories
Description
Returns an array of categories for the given extension.
Description:JHtmlCategory::categories [Edit Descripton]
Synopsis
public static JHtmlCategory::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 in
libraries/joomla/html/html/category.php (line 88)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JHtmlCategory::categories
Examples
<CodeExamplesForm />
