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()) | |
getAssoc () | |
getItems () | |
countItems (&$items, $extension) | |
Fonctions membres protégées | |
populateState ($ordering='a.lft', $direction='asc') | |
getStoreId ($id='') | |
getListQuery () | |
Attributs privés | |
$hasAssociation | |
Categories Component Categories Model
__construct | ( | $config = array() | ) |
Constructor.
array | $config | An optional associative array of configuration settings. |
Références $config.
countItems | ( | & | $items, |
$extension | |||
) |
Method to load the countItems method from the extensions
stdClass[] | $items The category items | |
string | $extension | The category extension |
Références $component, $extension, $file, $items, $parts, $prefix, $section, JPATH_ADMINISTRATOR, null, et JLoader\register().
getAssoc | ( | ) |
Method to determine if an association exists
Références $component, $extension, JPATH_SITE, et JLoader\register().
getItems | ( | ) |
Method to get an array of data items.
Références $extension, et $items.
|
protected |
Method to get a database query to list categories.
Références $db, $extension, $groups, $language, $listDirn, $published, $query, $user, et elseif.
|
protected |
Method to get a store id based on model configuration state.
This is necessary because the model is used by the component and different modules that might need different sets of data or different ordering requirements.
string | $id | A prefix for the store id. |
Références $id.
|
protected |
Method to auto-populate the model state.
Note. Calling getState in this method will result in recursion.
string | $ordering | An optional ordering field. |
string | $direction | An optional direction (asc|desc). |
Références $app, $direction, $extension, $forcedLanguage, $layout, $ordering, $parts, et null.
|
private |