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 () | |
Fonctions membres publiques hérités de ContentModelArticles | |
__construct ($config=array()) | |
getAuthors () | |
__construct ($config=array()) | |
getItems () | |
getStart () | |
countItemsByMonth () | |
Champs de données | |
$_context = 'com_content.frontpage' | |
Fonctions membres protégées | |
getListQuery () | |
populateState ($ordering='a.title', $direction='asc') | |
populateState ($ordering=null, $direction=null) | |
getStoreId ($id='') | |
getListQuery () | |
Fonctions membres protégées hérités de ContentModelArticles | |
populateState ($ordering='a.id', $direction='desc') | |
getStoreId ($id='') | |
getListQuery () | |
populateState ($ordering='ordering', $direction='ASC') | |
getStoreId ($id='') | |
getListQuery () | |
Methods supporting a list of featured article records.
Frontpage Component Model
__construct | ( | $config = array() | ) |
Constructor.
array | $config | An optional associative array of configuration settings. |
Références $config.
getItems | ( | ) |
|
protected |
Build an SQL query to load the list data.
Références $db, $groups, $language, $published, $query, $type, $user, et elseif.
|
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.
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, $direction, $input, $limit, $menu, $ordering, $params, $user, Registry\loadString(), ContentHelperQuery\orderbyPrimary(), et ContentHelperQuery\orderbySecondary().
|
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 $direction, et $ordering.
$_context = 'com_content.frontpage' |