Author Topic

Paul Forsyth

Tuesday 23 December 2003 5:56:02 am

Comment14285

The handler should be called automatically if it is declared. I should say this is a grey area for me...

But, take a look at this file:

kernel/classes/notification/eznotificationeventfilter.php

It contains two functions of interest.

process() is where the handler is associated with the event.

availableHandlers() picks up the available handlers from the ini file. Notice the lack of an extension setting here, which is why i believe handlers are picked up from extensions.

have you printed out event values from your handlers event function? take a look at a current one like:

kernel/classes/notification/handler/ezgeneraldigest/ezgeneraldigesthandler.php

paul