class JHtmlCategory


Located at : UKNOWVA_ROOT/libraries/joomla/html/html/category.php

Utility class for categories

Methods

static array
options(string $extension, array $config = array('filter.published' => array(0, 1)))

Returns an array of categories for the given extension.

static array
categories(string $extension, array $config = array('filter.published' => array(0, 1)))

Returns an array of categories for the given extension.

Details

at line 40
static array options(string $extension, array $config = array('filter.published' => array(0, 1)))

Returns an array of categories for the given extension.

Parameters

string $extension The extension option e.g. com_something.
array $config An array of configuration options. By default, only published and unpublished categories are returned.

Return Value

array

at line 94
static array categories(string $extension, array $config = array('filter.published' => array(0, 1)))

Returns an array of categories for the given extension.

Parameters

string $extension The extension option.
array $config An array of configuration options. By default, only published and unpulbished categories are returned.

Return Value

array