Property | Type | Description | |
---|---|---|---|
$historyHelper | JHelperContenthistory |
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 |
public onAfterPublish ( &$model ) : void | ||
return | void |
public onAfterSave ( &$model ) : boolean | ||
return | boolean | True to allow saving without an error |
public onAfterUnpublish ( &$model ) : void | ||
return | void |
public onBeforeDelete ( &$model, integer $oid ) : boolean | ||
$oid | integer | The PK value of the record to delete |
return | boolean | True to allow the deletion |