API Docs for: 0.6.1

MojitoHooks Module

The hook system provides a way for application or add on developers to access the inner working of mojito. There are two steps to using an hook. First, an addon needs to register an interest in a hook by calling registerHook with the name of the hook and a callback function. The second step involves enabling a hook your addon to recieve hooks. You need to call the enableHookGroup with the name of your addon.