VersionableModelTrait

Defines the trait for a Versionable Model Class.

since

3.10.0

Methods

loadHistory

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

loadHistory(integer $versionId, \Joomla\CMS\Table\Table &$table) : boolean
since

4.0.0

Arguments

$versionId

integerKey to the version history table.

$table

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

Response

booleanFalse on failure or error, true otherwise.