Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct ($config=array()) | |
getItems () | |
getPagination () | |
getCategory () | |
getParent () | |
& | getLeftSibling () |
& | getRightSibling () |
& | getChildren () |
hit ($pk=0) | |
Fonctions membres protégées | |
populateState ($ordering=null, $direction=null) | |
_buildContentOrderBy () | |
Attributs protégés | |
$_item = null | |
$_articles = null | |
$_siblings = null | |
$_children = null | |
$_parent = null | |
$_context = 'com_content.category' | |
$_category = null | |
$_categories = null | |
This models supports retrieving a category, the articles associated with the category, sibling, child and parent categories.
__construct | ( | $config = array() | ) |
Constructor.
array | $config | An optional associative array of configuration settings. |
Références $config.
|
protected |
Build the orderby for the query
Références $app, $db, $itemid, $params, null, ContentHelperQuery\orderbyPrimary(), et ContentHelperQuery\orderbySecondary().
getCategory | ( | ) |
& getChildren | ( | ) |
Get the child categories.
Références $params.
getItems | ( | ) |
& getLeftSibling | ( | ) |
Get the left sibling (adjacent) categories.
getPagination | ( | ) |
Method to get a JPagination object for the data set.
Références null.
getParent | ( | ) |
Get the parent category.
& getRightSibling | ( | ) |
Get the right sibling (adjacent) categories.
hit | ( | $pk = 0 | ) |
Increment the hit counter for the category.
int | $pk | Optional primary key of the category to increment. |
Références $input.
Method to auto-populate the model state.
Note. Calling getState in this method will result in recursion.
string | $ordering | The field to order on. |
string | $direction | The direction to order on. |
Références $app, $asset, $itemid, $limit, $listOrder, $menu, $params, $user, $value, et Registry\loadString().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |