View Single Post
  #12  
Old 16th January 2010, 11:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,323 Times in 4,176 Posts
Default

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".
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote