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='Contenthistory', $prefix='JTable', $config=array()) | |
keep (&$pks) | |
Fonctions membres protégées | |
canDelete ($record) | |
populateState ($ordering='h.save_date', $direction='DESC') | |
getListQuery () | |
getSha1Hash () | |
Methods supporting a list of contenthistory records.
__construct | ( | $config = array() | ) |
Constructor.
array | $config | An optional associative array of configuration settings. |
Références $config.
|
protected |
Method to test whether a history record can be deleted. Note that we check whether we have edit permissions for the content item row.
JTableContenthistory | $record | A JTable object. |
delete | ( | & | $pks | ) |
Method to delete one or more records from content history table.
array | $pks | An array of record primary keys. |
Références $i.
|
protected |
|
protected |
Get the sha1 hash value for the current item being edited.
Références JPATH_ADMINISTRATOR, et json_encode.
getTable | ( | $type = 'Contenthistory' , |
|
$prefix = 'JTable' , |
|||
$config = array() |
|||
) |
keep | ( | & | $pks | ) |
Method to toggle on and off the keep forever value for one or more records from content history table.
array | $pks | An array of record primary keys. |
Références $i.
|
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, $input, $itemId, $ordering, et $params.