VersionableModelTrait

Defines the trait for a Versionable Model Class.

since

3.10.0

package

Application

Methods

loadHistory

Method to load a row for editing from the version history table.

loadHistory(int versionId, \Joomla\CMS\Table\Table &table) : bool
since

4.0.0

Arguments

versionId

intKey to the version history table.

table

\Joomla\CMS\Table\TableContent table object being loaded.

Response

boolFalse on failure or error, true otherwise.