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()) | |
getLogsForItem ($extension, $itemId) | |
getLogsData ($pks=null) | |
getLogDataAsIterator ($pks=null) | |
delete (&$pks) | |
purge () | |
getFilterForm ($data=array(), $loadData=true) | |
Fonctions membres protégées | |
populateState ($ordering='a.id', $direction='desc') | |
getListQuery () | |
Fonctions membres privées | |
buildDateRange ($range) | |
getLogDataQuery ($pks=null) | |
Methods supporting a list of article records.
__construct | ( | $config = array() | ) |
Constructor.
array | $config | An optional associative array of configuration settings. |
Références $config.
|
private |
Construct the date range to filter on.
string | $range | The textual range to construct the filter for. |
Références $offset, $range, et Factory\getApplication().
delete | ( | & | $pks | ) |
Delete logs
array | $pks | Primary keys of logs |
Références $db, $query, Factory\getApplication(), et ArrayHelper\toInteger().
getFilterForm | ( | $data = array() , |
|
$loadData = true |
|||
) |
|
protected |
Build an SQL query to load the list data.
Références $date, $db, $extension, $query, $user, et elseif.
getLogDataAsIterator | ( | $pks = null | ) |
Get logs data as a database iterator
integer[]|null | $pks An optional array of log record IDs to load |
|
private |
Get the query for loading logs data
integer[]|null | $pks An optional array of log record IDs to load |
Références $db, $query, et ArrayHelper\toInteger().
getLogsData | ( | $pks = null | ) |
getLogsForItem | ( | $extension, | |
$itemId | |||
) |
Get all log entries for an item
string | $extension | The extension the item belongs to |
integer | $itemId | The item ID |
Références $db, $extension, $itemId, et $query.
|
protected |
Method to auto-populate the model state.
Références $app, $direction, $extension, $ordering, $user, et Factory\getApplication().
purge | ( | ) |
Removes all of logs from the table.
Références Factory\getApplication().