ContentHistoryHelper
class ContentHistoryHelper extends CMSHelper
Versions helper class, provides methods to perform various tasks relevant versioning of content.
Properties
string | $typeAlias | Alias for storing type in versions table |
Methods
getDataObject(
TableInterface $table)
Method to get an object containing all of the table columns and values.
from CMSHelper
__construct(
string $typeAlias = null)
Constructor
boolean
mixed
getHistory(
integer $typeId,
mixed $id)
Method to get a list of available versions of this item.
Details
stdClass
getDataObject(
TableInterface $table)
Method to get an object containing all of the table columns and values.