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()) | |
Fonctions membres protégées | |
populateState ($ordering='a.position', $direction='asc') | |
getStoreId ($id='') | |
_getList ($query, $limitstart=0, $limit=0) | |
translate (&$items) | |
getListQuery () | |
Modules Component Module Model
__construct | ( | $config = array() | ) |
Constructor.
array | $config | An optional associative array of configuration settings. |
Références $config.
|
protected |
Returns an object list
string | $query | The query |
int | $limitstart | Offset |
int | $limit | The number of records |
Références $limit, $listDirn, $listOrder, $query, $total, elseif, null, et ArrayHelper\sortObjects().
|
protected |
|
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, $clientId, $direction, $layout, $ordering, et $params.
|
protected |
Translate a list of objects
array | &$items | The array of objects |
Références $extension, $item, $items, $lang, elseif, JPATH_ADMINISTRATOR, JPATH_SITE, et null.