note 17552 added to function.xml-set-object
| From: | ericj at no dot spam dot for dot me dot loopshot dot com | Date: | Thu, 13 Dec 2001 19:25:00 +0000 |
| Subject: | note 17552 added to function.xml-set-object | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-22591@lists.php.net to get a copy of this message | ||
Arrgh, added the previous note too soon. The example above:
xml_set_element_handler($this->parser, array(&$this,
"StartElement"), array(&$this, "StopElement"));
Works fine in the constructor of your class, thus the references to "&$this".
HTH
--
http://www.php.net/manual/en/function.xml-set-object.php
http://master.php.net/manage/user-notes.php?action=edit+17552
http://master.php.net/manage/user-notes.php?action=delete+17552
http://master.php.net/manage/user-notes.php?action=reject+17552