Re: XML_Parser problem
| From: | Tomas V.V.Cox | Date: | Sat, 22 Jun 2002 11:52:09 +0000 |
| Subject: | Re: XML_Parser problem | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1738@lists.php.net to get a copy of this message | ||
Serguey Kolesov wrote:
>
> Hello everyone!
>
> I am having problems with XML_Parser class.
>
> I extend my own custom parser class from XML_Parser where I redefine
> StartHandler, EndHandler. Then after I call ->parse() method of my new class
> all member variables are reset to their initial values. It this the supposed
> behaviour?
>
Do not forget to create the object by reference:
$parser = &new Extended_Custom;
Tomas V.V.Cox