[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2013 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 150 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Class: PreviewModel - X-Ref
Methods supporting a list of contenthistory records.getItem($pk = null) X-Ref |
Method to get a version history row. param: integer $pk The id of the item return: \stdClass|boolean On success, standard object with row data. 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 |