event_store_event hook
This commit is contained in:
11
doc/hook/event_store_event.bb
Normal file
11
doc/hook/event_store_event.bb
Normal file
@@ -0,0 +1,11 @@
|
||||
[h2]event_store_event[/h2]
|
||||
|
||||
Called from event_store_event() when an event record is being stored.
|
||||
|
||||
Hook info is an array
|
||||
|
||||
'event' => the passed event details, ready for storage
|
||||
'existing_event' => If the event already exists, a copy of the original event record from the database
|
||||
'cancel' => false - set to true to cancel the operation.
|
||||
|
||||
|
@@ -184,6 +184,9 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the
|
||||
[zrl=[baseurl]/help/hook/event_created]event_created[/zrl]
|
||||
called when an event record is created
|
||||
|
||||
[zrl=[baseurl]/help/hook/event_store_event]event_store_event[/zrl]
|
||||
called when an event record is created or updated
|
||||
|
||||
[zrl=[baseurl]/help/hook/event_updated]event_updated[/zrl]
|
||||
called when an event record is modified
|
||||
|
||||
|
Reference in New Issue
Block a user