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()) | |
& | getCategoryOrders () |
getTable ($type='Banner', $prefix='BannersTable', $config=array()) | |
getItems () | |
impress () | |
Fonctions membres protégées | |
getListQuery () | |
getStoreId ($id='') | |
populateState ($ordering='a.name', $direction='asc') | |
getStoreId ($id='') | |
getListQuery () | |
Methods supporting a list of banner records.
Banners model for the Joomla Banners component.
__construct | ( | $config = array() | ) |
Constructor.
array | $config | An optional associative array of configuration settings. |
Références $config.
& getCategoryOrders | ( | ) |
|
protected |
Method to get a JDatabaseQuery object for retrieving the data set from a database.
Références $config, $db, $keywords, $ordering, $prefix, $query, $type, et elseif.
|
protected |
Build an SQL query to load the list data.
Références $clientId, $db, $language, $published, $query, 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 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.
getTable | ( | $type = 'Banner' , |
|
$prefix = 'BannersTable' , |
|||
$config = array() |
|||
) |
Returns a reference to the a Table object, always creating it.
string | $type | The table type to instantiate |
string | $prefix | A prefix for the table class name. Optional. |
array | $config | Configuration array for model. Optional. |
impress | ( | ) |
|
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.