Classes
AfterCategoryChangeStateEvent
Class for Model event.
Example:
new AfterCategoryChangeStateEvent('onEventName', ['context' => $extension, 'subject' => $primaryKeys, 'value' => $newState]);
« More » AfterChangeStateEvent
Class for Model event.
Example:
new AfterChangeStateEvent('onEventName', ['context' => 'com_example.example', 'subject' => $primaryKeys, 'value' => $newState]);
« More » AfterDeleteEvent
Class for Model event.
Example:
new AfterDeleteEvent('onEventName', ['context' => 'com_example.example', 'subject' => $itemObjectToDelete]);
« More » AfterSaveEvent
Class for Model event.
Example:
new AfterSaveEvent('onEventName', ['context' => 'com_example.example', 'subject' => $itemObjectToSave, 'isNew' => $isNew, 'data' => $submittedData]);
« More » BeforeChangeStateEvent
Class for Model event.
Example:
new BeforeChangeStateEvent('onEventName', ['context' => 'com_example.example', 'subject' => $primaryKeys, 'value' => $newState]);
« More » BeforeDeleteEvent
Class for Model event.
Example:
new BeforeDeleteEvent('onEventName', ['context' => 'com_example.example', 'subject' => $itemObjectToDelete]);
« More » BeforeSaveEvent
Class for Model event.
Example:
new BeforeSaveEvent('onEventName', ['context' => 'com_example.example', 'subject' => $itemObjectToSave, 'isNew' => $isNew, 'data' => $submittedData]);
« More » BeforeValidateDataEvent
Class for Model Form event.
Example:
new BeforeValidateDataEvent('onEventName', ['subject' => $form, 'data' => $data]);
« More » NormaliseRequestDataEvent
Class for Model Form event.
Example:
new NormaliseRequestDataEvent('onEventName', ['context' => 'com_example.example', 'data' => $data, 'subject' => $form]);
« More » PrepareDataEvent
Class for Model event.
Example:
new PrepareDataEvent('onEventName', ['context' => 'com_example.example', 'subject' => $data]);
« More » PrepareFormEvent
Class for Model Form event.
Example:
new PrepareFormEvent('onEventName', ['subject' => $form, 'data' => $data]);
« More »