JHtmlCategory::categories
Returns an array of categories for the given extension.
Signature
public function categories(string
$extension,
array
$configĀ )
Parameters
-
$extension
- The extension option.
-
$config
- An array of configuration options. By default, only published and unpublished categories are returned.
Returns
- array
- Categories for the extension