[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_contenthistory/src/Model/ -> CompareModel.php (summary)

(no description)

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

Defines 1 class

CompareModel:: (3 methods):
  getItems()
  getTable()
  canEdit()


Class: CompareModel  - X-Ref

Methods supporting a list of contenthistory records.

getItems()   X-Ref
Method to get a version history row.

return: array|boolean    On success, array of populated tables. False on failure.

getTable($type = 'Contenthistory', $prefix = 'Joomla\\CMS\\Table\\', $config = array()   X-Ref
Method to get a table object, load it if necessary.

param: string  $type    The table name. Optional.
param: string  $prefix  The class prefix. Optional.
param: array   $config  Configuration array for model. Optional.
return: Table   A Table object

canEdit($record)   X-Ref
Method to test whether a record is editable

param: ContentHistory  $record  A Table object.
return: boolean  True if allowed to edit the record. Defaults to the permission set in the component.



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