Category

Utility class for categories

abstract
since

1.5

package

Application

Methods

categories

Returns an array of categories for the given extension.

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

1.6

Arguments

extension

stringThe extension option.

config

arrayAn array of configuration options. By default, only published and unpublished categories are returned.

Response

arrayCategories for the extension

options

Returns an array of categories for the given extension.

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

1.5

Arguments

extension

stringThe extension option e.g. com_something.

config

arrayAn array of configuration options. By default, only published and unpublished categories are returned.

Response

array

Properties

items

Cached array of the category items.

static
since

1.5

Type(s)

array