When a Module Function Fires, Allow Other Modules to Know

Back to Module Development

Page: 1  
From User Message Body
baiguai
Post #625
Member
Date: 11:19 pm, Sep 19 2007
Posts: 1


Is there a global 'IsHandled' property or something similar in php-irc? I will be writing a bunch of mods for it, but if one mod fires a function, I want some of my other mods to be able to check so that they bypass their functionality altogether if the incoming irc data has been 'handled' - somthing like:


if ($this->ircClass->IsHandled) return; (I am new to classes in php, so that syntax may be wrong)


Thank you very much, in advance!

Blank
Post #651
Member
Date: 11:52 am, Dec 2 2007
Posts: 4


That would be a very neat thing to implement... i'll have a look, and might have a chat with Manick.

-----------
Just another friendly aussie php-irc user...
   

Back to Module Development