JHtmlCategory::options
From Joomla! Documentation
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.
JHtmlCategory::options[edit]
Description[edit]
Returns an array of categories for the given extension.
Template:Description:JHtmlCategory::options [Edit Descripton]
Synopsis[edit]
public static JHtmlCategory::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[edit]
array
Defined in[edit]
libraries/joomla/html/html/category.php (line 36)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JHtmlCategory::options
Examples[edit]
<CodeExamplesForm />