Topic cluster
Notification
A typed event or request exchanged between decoupled Zotonic components through the notifier.
View topic page6 items
The remaining keywords do not make a useful further split. All matching documentation is listed below.
observe_rsc_delete/2
Resource will be deleted. This notification is part of the delete transaction, it’s purpose is to clean up associated data.
observe_rsc_get/3
Resource is read, opportunity to add computed fields Used in a foldr with the read properties as accumulator.
observe_rsc_insert/3
Foldr for a resource insert, these are the initial properties and will overrule the properties in the insert request. Use with care. The props are the properties of the later insert, after escaping/filtering but before…
observe_rsc_merge/2
Map to signal merging two resources. Move any information from the loser to the winner. The loser will be deleted.
observe_rsc_update/3
An updated resource is about to be persisted. Observe this notification to change the resource properties before they are persisted.
observe_rsc_update_done/2
An updated resource has just been persisted. Observe this notification to execute follow-up actions for a resource update.