Back to Joomla project (class list)

Class Category - list of methods

Utility class for categories
Package: Joomla\CMS\HTML\Helpers
Copyright: (C) 2009 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/HTML/Helpers/Category.php
Project: Joomla

Method Summary

public static array
(mixed $extension, mixed $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.
Returns
  • array
Since
  • 1.5
Show source code of this method: options Source Code

public static array
(mixed $extension, mixed $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 unpublished categories are returned.
Returns
  • array Categories for the extension
Since
  • 1.6
Show source code of this method: categories Source Code

Properties Summary

protected static array
$items
Cached array of the category items.
Since
  • 1.5

Tags Summary

Since
1.5