View Single Post
  #7  
Old 03-17-2007, 10:37 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
...
Why didn't I think of that >_>
That is good idea, but I was hoping to not have to do that

I suppose what I'll do is have the functions named differently for each class, like <classname>_onCreated() and then this_onCreated() for the base object or something, it would be about the same as doing classname::functionname() and I'll just make a function to call each of those.

We'd have the normal onCreated() event block that would have triggerall("Created", params) that would trigger the blocks that actually do something, starting with the this_onCreated() event and moving through class list.

So any time a normal event is triggered it would trigger the 'multi-event' as a result.
__________________
Reply With Quote