Quote from: wendy at Jan 19, 2006, 09:43 PM
How to use invoke event API? Can we use it for our own?
Wendy, this is not an API function, but a core internal function for triggering core events, to which Plugins can be attached for custom processing when the event is invoked.
You could hack this to create new custom events, but you’d have to add the event to the database by hand, and then call invokeEvent() where you intended to trigger plugins from within your custom code.
Future plans for this event model are being researched and discussed, but I at least intend to find a way to allow user-defined events at some point, either in Tattoo, or both MODx and Tattoo.