Свойство | Тип | Описание | |
---|---|---|---|
$historyHelper | JHelperContenthistory |
Метод | Описание | |
---|---|---|
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 | ||
Результат | void |
public onAfterSave ( &$model ) : boolean | ||
Результат | boolean | True to allow saving without an error |
public onAfterUnpublish ( &$model ) : void | ||
Результат | void |
public onBeforeDelete ( &$model, integer $oid ) : boolean | ||
$oid | integer | The PK value of the record to delete |
Результат | boolean | True to allow the deletion |