[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_actionlogs/src/Model/ -> ActionlogsModel.php (summary)

(no description)

Copyright: (C) 2018 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 401 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ActionlogsModel:: (11 methods):
  __construct()
  populateState()
  getListQuery()
  buildDateRange()
  getLogsForItem()
  getLogsData()
  getLogDataAsIterator()
  getLogDataQuery()
  delete()
  purge()
  getFilterForm()


Class: ActionlogsModel  - X-Ref

Methods supporting a list of article records.

__construct($config = array()   X-Ref
Constructor.

param: array  $config  An optional associative array of configuration settings.

populateState($ordering = 'a.id', $direction = 'desc')   X-Ref
Method to auto-populate the model state.

param: string  $ordering   An optional ordering field.
param: string  $direction  An optional direction (asc|desc).
return: void

getListQuery()   X-Ref
Build an SQL query to load the list data.

return: DatabaseQuery

buildDateRange($range)   X-Ref
Construct the date range to filter on.

param: string  $range  The textual range to construct the filter for.
return: array  The date range to filter on.

getLogsForItem($extension, $itemId)   X-Ref
Get all log entries for an item

param: string   $extension  The extension the item belongs to
param: integer  $itemId     The item ID
return: array

getLogsData($pks = null)   X-Ref
Get logs data into Table object

param: integer[]|null  $pks  An optional array of log record IDs to load
return: array  All logs in the table

getLogDataAsIterator($pks = null)   X-Ref
Get logs data as a database iterator

param: integer[]|null  $pks  An optional array of log record IDs to load
return: DatabaseIterator

getLogDataQuery($pks = null)   X-Ref
Get the query for loading logs data

param: integer[]|null  $pks  An optional array of log record IDs to load
return: DatabaseQuery

delete(&$pks)   X-Ref
Delete logs

param: array  $pks  Primary keys of logs
return: boolean

purge()   X-Ref
Removes all of logs from the table.

return: boolean result of operation

getFilterForm($data = array()   X-Ref
Get the filter form

param: array    $data      data
param: boolean  $loadData  load current data
return: Form|boolean  The Form object or false on error



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer