Actions

API17

JHtmlCategory::categories

From Joomla! Documentation

Revision as of 20:52, 11 May 2013 by JoomlaWikiBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JHtmlCategory::categories

Description

Returns an array of categories for the given extension.

Description:JHtmlCategory::categories [Edit Descripton]

public static function categories (
        $extension
        $config=array('filter.published'=> array(0
        1
)
Parameter Type Default Description
$extension string The extension option.
$config array array('filter.published'=> array(0, 1)) An array of configuration options. By default, only published and unpulbished categories are returned.
  • Returns array
  • Defined on line 88 of libraries/joomla/html/html/category.php

See also

  • Joomla 11.1 JHtmlCategory::categories source code on BitBucket
  • Joomla 11.1 Class JHtmlCategory
  • Joomla 11.1 Subpackage Html
  • Other versions of JHtmlCategory::categories

SeeAlso:JHtmlCategory::categories [Edit See Also]

User contributed notes

<CodeExamplesForm />