Back to Joomla project (class list)

Class VersionableModelTrait - list of methods

Defines the trait for a Versionable Model Class.
Package: Joomla\CMS\Versioning
Copyright: (C) 2019 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Versioning/VersionableModelTrait.php
Project: Joomla

Method Summary

public bool
(mixed $versionId, \Joomla\CMS\Table\Table &$table)

Method to load a row for editing from the version history table.
Parameters
  • int $versionId Key to the version history table.
  • \Joomla\CMS\Table\Table $table Content table object being loaded.
Returns
  • bool False on failure or error, true otherwise.
Since
  • 4.0.0
Show source code of this method: loadHistory Source Code

Tags Summary

Since
3.10.0