![]() |
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()) | |
delete (&$pks) | |
getTable ($type= 'Map', $prefix= 'FinderTable', $config=array()) | |
publish (&$pks, $value=1) | |
purge () | |
![]() | |
getItems () | |
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 | |
canDelete ($record) | |
canEditState ($record) | |
getListQuery () | |
getStoreId ($id= '') | |
populateState ($ordering=null, $direction=null) | |
![]() | |
_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() |
FinderModelMaps::__construct | ( | $config = array() | ) |
Constructor.
array | $config | An associative array of configuration settings. [optional] |
Réimplémentée à partir de JModelList.
Références $config.
|
protected |
Method to test whether a record can be deleted.
object | $record | A record object. |
Références $user, et JFactory\getUser().
|
protected |
Method to test whether a record can be deleted.
object | $record | A record object. |
Références $user, et JFactory\getUser().
FinderModelMaps::delete | ( | & | $pks | ) |
Method to delete one or more records.
array | &$pks | An array of record primary keys. |
Références $dispatcher, $i, $name, $user, JText\_(), JDispatcher\getInstance(), JFactory\getUser(), et JPluginHelper\importPlugin().
|
protected |
Build an SQL query to load the list data.
Réimplémentée à partir de JModelList.
Références $db, $direction, $ordering, et $query.
|
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. [optional] |
Réimplémentée à partir de JModelList.
Références $id.
FinderModelMaps::getTable | ( | $type = 'Map' , |
|
$prefix = 'FinderTable' , |
|||
$config = array() |
|||
) |
Returns a JTable object, always creating it.
string | $type | The table type to instantiate. [optional] |
string | $prefix | A prefix for the table class name. [optional] |
array | $config | Configuration array for model. [optional] |
Réimplémentée à partir de JModel.
Références $config, $type, et JTable\getInstance().
Method to auto-populate the model state. Calling getState in this method will result in recursion.
string | $ordering | An optional ordering field. [optional] |
string | $direction | An optional direction. [optional] |
Réimplémentée à partir de JModelList.
Références $params, $state, et JComponentHelper\getParams().
FinderModelMaps::publish | ( | & | $pks, |
$value = 1 |
|||
) |
Method to change the published state of one or more records.
array | &$pks | A list of the primary keys to change. |
integer | $value | The value of the published state. [optional] |
Références $dispatcher, $i, $name, $user, JText\_(), JDispatcher\getInstance(), JFactory\getUser(), et JPluginHelper\importPlugin().
FinderModelMaps::purge | ( | ) |