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()) | |
delete (&$pks) | |
getTable ($type='Map', $prefix='FinderTable', $config=array()) | |
publish (&$pks, $value=1) | |
purge () | |
Fonctions membres protégées | |
canDelete ($record) | |
canEditState ($record) | |
getListQuery () | |
_getListCount ($query) | |
getStoreId ($id='') | |
populateState ($ordering='d.branch_title', $direction='ASC') | |
Maps model for the Finder package.
__construct | ( | $config = array() | ) |
Constructor.
array | $config | An associative array of configuration settings. [optional] |
Références $config.
|
protected |
Returns a record count for the query.
JDatabaseQuery | string | $query | The query. |
Références $query.
|
protected |
Method to test whether a record can be deleted.
object | $record | A record object. |
Références option.
|
protected |
Method to test whether a record can have its state changed.
object | $record | A record object. |
Références option.
delete | ( | & | $pks | ) |
Method to delete one or more records.
array | $pks | An array of record primary keys. |
Références $context, $dispatcher, $i, $name, JEventDispatcher\getInstance(), et option.
|
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. [optional] |
Références $id.
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] |
|
protected |
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éférences $direction, $ordering, et $params.
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 $context, $dispatcher, $i, $name, $user, $value, JEventDispatcher\getInstance(), et option.
purge | ( | ) |