API17:JHtmlCategory::options
From Joomla! Documentation
JHtmlCategory::options
Description
Returns an array of categories for the given extension.
public static function options (
$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 36 of libraries/joomla/html/html/category.php
See also
JHtmlCategory::options source code on BitBucket
Class JHtmlCategory
Subpackage Html- Other versions of JHtmlCategory::options
User contributed notes
Code Examples