shuhaib864 / xmpphp

Automatically exported from code.google.com/p/xmpphp
0 stars 0 forks source link

Event handlers don't work #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
You can use addEventHandler as much as you like, but the handlers are never
called. Simple fix, in XMLStream.php:

    public function addEventHandler($name, $pointer, $obj) {
        $this->eventhanders[] = array($name, $pointer, $obj);

It says handers instead of handlers. Change that and it works.

Original issue reported on code.google.com by ciaran.g...@gmail.com on 26 Aug 2008 at 7:57

GoogleCodeExporter commented 8 years ago
fixed in SVN

Original comment by nathanfr...@gmail.com on 26 Aug 2008 at 8:20