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) | |
getPluginState () | |
getTotalIndexed () | |
getTable ($type='Link', $prefix='FinderTable', $config=array()) | |
purge () | |
publish (&$pks, $value=1) | |
Fonctions membres protégées | |
canDelete ($record) | |
canEditState ($record) | |
getListQuery () | |
getStoreId ($id='') | |
populateState ($ordering='l.title', $direction='asc') | |
Attributs protégés | |
$event_after_delete = 'onContentAfterDelete' | |
$event_before_delete = 'onContentBeforeDelete' | |
Index model class for Finder.
__construct | ( | $config = array() | ) |
Constructor.
array | $config | An associative array of configuration settings. [optional] |
Références $config.
|
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 |
Build an SQL query to load the list data.
Références $db, $listOrder, $ordering, $query, $state, et $type.
getPluginState | ( | ) |
|
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 = 'Link' , |
|
$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] |
getTotalIndexed | ( | ) |
|
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 | ( | ) |
|
protected |
|
protected |