The events get been called by ispconfig, so you can not launch them manually. You just bind a function in the local plugin to listen for a specific even. If you take a look at the existing, you will find the code in the onLoad function of the plugin. Example:
$app->plugins->registerEvent('web_domain_insert',$this->plugin_name,'insert');
This binds the local function of the plugin with the name "insert" to the event "web_domain_insert".
|