PHP Class FOF30\Model\DataModel\Behaviour\ContentHistory

Since: 2.1
Inheritance: extends FOF30\Event\Observer
Afficher le fichier Open project: akeeba/fof

Protected Properties

Свойство Type Description
$historyHelper JHelperContenthistory

Méthodes publiques

Méthode 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 méthode

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

onAfterSave() public méthode

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

onAfterUnpublish() public méthode

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

onBeforeDelete() public méthode

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

Property Details

$historyHelper protected_oe property

protected JHelperContenthistory $historyHelper
Résultat JHelperContenthistory