![]() |
Joomla CMS
2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct ($config=array()) | |
& | getCategoryOrders () |
getTable ($type= 'Banner', $prefix= 'BannersTable', $config=array()) | |
getItems () | |
impress () | |
![]() | |
getPagination () | |
getTotal () | |
getStart () | |
getUserStateFromRequest ($key, $request, $default=null, $type= 'none', $resetPage=true) | |
![]() | |
getDbo () | |
getName () | |
getState ($property=null, $default=null) | |
setDbo (&$db) | |
setState ($property, $value=null) | |
![]() | |
__toString () | |
def ($property, $default=null) | |
get ($property, $default=null) | |
getProperties ($public=true) | |
getError ($i=null, $toString=true) | |
getErrors () | |
set ($property, $value=null) | |
setProperties ($properties) | |
setError ($error) | |
toString () |
Fonctions membres protégées | |
getListQuery () | |
getStoreId ($id= '') | |
populateState ($ordering=null, $direction=null) | |
getStoreId ($id= '') | |
getListQuery () | |
![]() | |
_getListQuery () | |
![]() | |
_getList ($query, $limitstart=0, $limit=0) | |
_getListCount ($query) | |
_createTable ($name, $prefix= 'Table', $config=array()) | |
populateState () | |
cleanCache ($group=null, $client_id=0) |
Additional Inherited Members | |
![]() | |
$cache = array() | |
$context = null | |
$filter_fields = array() | |
$query = array() | |
![]() | |
$__state_set = null | |
$_db | |
$name | |
$option = null | |
$state | |
$event_clean_cache = null | |
![]() | |
$_errors = array() |
BannersModelBanners::__construct | ( | $config = array() | ) |
Constructor.
array | An optional associative array of configuration settings. |
Réimplémentée à partir de JModelList.
Références $config.
& BannersModelBanners::getCategoryOrders | ( | ) |
BannersModelBanners::getItems | ( | ) |
Get a list of banners.
Réimplémentée à partir de JModelList.
Références $item, et JRegistry\loadString().
|
protected |
Gets a list of banners
Réimplémentée à partir de JModelList.
Références $config, $db, $ordering, $query, $type, elseif, JFactory\getLanguage(), JComponentHelper\getParams(), et JArrayHelper\toInteger().
|
protected |
Build an SQL query to load the list data.
Réimplémentée à partir de JModelList.
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éimplémentée à partir de JModelList.
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éimplémentée à partir de JModelList.
Références $id.
BannersModelBanners::getTable | ( | $type = 'Banner' , |
|
$prefix = 'BannersTable' , |
|||
$config = array() |
|||
) |
Returns a reference to the a Table object, always creating it.
type | The table type to instantiate |
string | A prefix for the table class name. Optional. |
array | Configuration array for model. Optional. |
Réimplémentée à partir de JModel.
Références $config, $type, et JTable\getInstance().
BannersModelBanners::impress | ( | ) |
Makes impressions on a list of banners
Références $config, $count, $db, $id, $item, $query, JFactory\getDate(), JComponentHelper\getParams(), et JError\raiseError().
Method to auto-populate the model state.
Note. Calling getState in this method will result in recursion.
Réimplémentée à partir de JModelList.
Références $app, $clientId, $language, $params, $state, JFactory\getApplication(), et JComponentHelper\getParams().