JHtmlCategory::categories

Returns an array of categories for the given extension.