PHP Class FOF30\Model\DataModel\Behaviour\ContentHistory

Since: 2.1
Inheritance: extends FOF30\Event\Observer
Mostra file Open project: akeeba/fof

Protected Properties

Property Type Description
$historyHelper JHelperContenthistory

Public Methods

Method Description
onAfterPublish ( &$model ) : void This event runs after publishing a record in a model
onAfterSave ( &$model ) : boolean The event which runs after storing (saving) data to the database
onAfterUnpublish ( &$model ) : void This event runs after unpublishing a record in a model
onBeforeDelete ( &$model, integer $oid ) : boolean The event which runs before deleting a record

Method Details

onAfterPublish() public method

This event runs after publishing a record in a model
public onAfterPublish ( &$model ) : void
return void

onAfterSave() public method

The event which runs after storing (saving) data to the database
public onAfterSave ( &$model ) : boolean
return boolean True to allow saving without an error

onAfterUnpublish() public method

This event runs after unpublishing a record in a model
public onAfterUnpublish ( &$model ) : void
return void

onBeforeDelete() public method

The event which runs before deleting a record
public onBeforeDelete ( &$model, integer $oid ) : boolean
$oid integer The PK value of the record to delete
return boolean True to allow the deletion

Property Details

$historyHelper protected_oe property

protected JHelperContenthistory $historyHelper
return JHelperContenthistory