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()) | |
getAuthors () | |
__construct ($config=array()) | |
getItems () | |
getStart () | |
countItemsByMonth () | |
Fonctions membres protégées | |
populateState ($ordering='a.id', $direction='desc') | |
getStoreId ($id='') | |
getListQuery () | |
populateState ($ordering='ordering', $direction='ASC') | |
getStoreId ($id='') | |
getListQuery () | |
Methods supporting a list of article records.
This models supports retrieving lists of articles.
__construct | ( | $config = array() | ) |
Constructor.
array | $config | An optional associative array of configuration settings. |
Références $config.
__construct | ( | $config = array() | ) |
Constructor.
array | $config | An optional associative array of configuration settings. |
Références $config.
countItemsByMonth | ( | ) |
getAuthors | ( | ) |
getItems | ( | ) |
Method to get a list of articles.
Overridden to inject convert the attribs field into a JParameter object.
For blogs, article params override menu item params only if menu param = 'use_article' Otherwise, menu item params control the layout If menu item is 'use_article' and there is no article param, use global
Compute the asset access permissions. Technically guest could edit an article, but lets not check that to improve performance a little.
Références $asset, $groups, $input, $item, $items, $key, $user, $userId, $value, ContentHelperAssociation\displayAssociations(), elseif, et null.
|
protected |
Build an SQL query to load the list data.
Références $db, $groups, $language, $published, $query, $type, $user, et elseif.
|
protected |
Get the master query for retrieving a list of articles subject to the model state.
If category is archived then article has to be published or archived. Or category is published then article has to be archived.
Références $articleId, $db, $filter, $groups, $key, $params, $published, $query, $type, $user, et elseif.
getStart | ( | ) |
Method to get the starting number of items for the data set.
|
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 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.
This method should only be called once per instantiation and is designed to be called on the first call to the getState() method unless the model configuration flag to ignore the request is set.
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, $listOrder, $params, $user, et $value.
|
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, $forcedLanguage, $language, $layout, $ordering, et $published.