VersionableModelTrait
Defines the trait for a Versionable Model Class.
since |
3.10.0 |
---|---|
package |
Joomla CMS |
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
int
Key to the version history table.- table
\Joomla\CMS\Table\Table
Content table object being loaded.
Response
bool
False on failure or error, true otherwise.