Utility class for categories
- Depuis
- 1.5
static categories |
( |
|
$extension, |
|
|
|
$config = array('filter.published' => array(0, 1)) |
|
) |
| |
|
static |
Returns an array of categories for the given extension.
- Paramètres
-
string | $extension | The extension option. |
array | $config | An array of configuration options. By default, only published and unpublished categories are returned. |
- Renvoie
- array Categories for the extension
- Depuis
- 1.6
Références $config, $db, $extension, $groups, $hash, $item, $items, $query, $user, Text\_(), HTMLHelper\_(), elseif, Factory\getDbo(), Factory\getUser(), ParameterType\INTEGER, et ArrayHelper\toInteger().
static options |
( |
|
$extension, |
|
|
|
$config = array('filter.published' => array(0, 1)) |
|
) |
| |
|
static |
Returns an array of categories for the given extension.
- Paramètres
-
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. |
- Renvoie
- array
- Depuis
- 1.5
Références $config, $db, $extension, $groups, $hash, $item, $items, $query, $user, HTMLHelper\_(), elseif, Factory\getDbo(), Factory\getUser(), ParameterType\INTEGER, ParameterType\STRING, et ArrayHelper\toInteger().