Latest releases
Latest stable release: 4.0.3
View changelog »
Copyright © 2005-2007 Spoonlabs d.o.o.
All rights Reserved.
| Parameter name | Value | Description |
|---|---|---|
| id | integer | category id |
| category_name | string | category name |
| parent_cat | integer | parent category id (0 - root) |
| order_num | integer | category order index |
| article_num | integer | number of articles to display on category view |
| template | string | custom template |
| css | string | custom css |
| view_subcat | integer | show category in navigation (name bug) |
| redirect | string | redirect link |
| public | string | public status 0 - public 1 - members only 2 - premium members only |
| image | string | category image filename |
| sefriendly | string | SE friendly name |
| article_template | string | template for articles in this category |
| subcategories | array | List of subcategories |
| get_id | integer | Returns category id |
| get_category_name | string | Returns category name |
| get_parent_cat | integer | Returns category parent id |
| get_order_num | integer | Returns order number |
| get_article_num | integer | Returns number of articles to display |
| get_template | string | Returns custom template (implements inheritance logic) |
| get_css | string | Returns custom theme (implements inheritance logic) |
| get_view_subcat | integer | |
| get_redirect | string | Returns redirect link |
| get_public | string | Returns category access status |
| get_image | string | Returns category image filename |
| get_sefriendly | string | Returns category SE friendly name |
| get_article_template | string | Returns custom article template (implements inheritance logic) |
| get_breadcrumb | array | Returns breadcrumb list of categories (root up) |
| get_breadcrumb_href | string | Returns relative URL to category (used by Articles class) |
| get_href | string | Returns relative URL to category first page |
| get_keywords | string | Returns category meta keywords |
| get_description | string | Returns category meta description |