\JHelperContenthistory
Versions helper class, provides methods to perform various tasks relevant versioning of content.
Synopsis
class JHelperContenthistory
extends JHelper
{
- // members
- public $typeAlias;
- // methods
- public void __construct()
- public boolean deleteHistory()
- public mixed getHistory()
- public boolean store()
- // Inherited methods from JHelper
- public string getCurrentLanguage()
- public integer getLanguageId()
- public array getRowData()
- public getDataObject()
Hierarchy
Extends
Members
public
- $typeAlias
—
string
Alias for storing type in versions table
Methods
public
- __construct() — Constructor
- deleteHistory() — Method to delete the history for an item.
- getHistory() — Method to get a list of available versions of this item.
- store() — Method to save a version snapshot to the content history table.
Inherited from JHelper
public
- getCurrentLanguage() — Gets the current language
- getDataObject() — Method to get an object containing all of the table columns and values.
- getLanguageId() — Gets the associated language ID
- getRowData() — Gets a row of data from a table