The main and best thing about Textpattern, callbacks, currently doesn't offer a
way to check if something has been attached to a specific event or what these
handlers are even.
The callbacks and event handling could be extended with few supporting
functions. Main things would be:
* Ability to see if something has been attached to a specific event+step+pre
combination.
* Potentially then even listing those callbacks in a string representation or
in original format.
* And lastly potential unbinding option. PHP doesn't make it the easiest task
tho.
In other words functions such as:
* callback_handlers() - lists handlers
* callback_off() - removes a handler
* event_has_hanlers() - tests if the callback has members
Original issue reported on code.google.com by jukka.m.svahn on 6 Dec 2012 at 7:41
Original issue reported on code.google.com by
jukka.m.svahn
on 6 Dec 2012 at 7:41