Function variabes and classes

From: Date: Tue, 13 Jun 2000 19:13:56 +0000
Subject: Function variabes and classes
Groups: php.general 
Request: Send a blank email to php-general+get-1736@lists.php.net to get a copy of this message
Hi. I'm trying to use the xml parser inside a class, but I don't seem to be able to set class methods as handlers, ala: xml_set_element_handler($this->parser, "\$this->startElement", "\$this->endElement"); Plus variations. I'm forced to use external functions, which is NOT what I want. Have I missed an (un)obvious format for defining $this-><function> in the variable function, or is this unsupported (noooooooooooooooooooooo!)? Regards Tom -- Thomas 'Freaky' Hurst - On ARCNet - http://arcnet.vapor.com/ Team Member of AmiBench - http://www.amibench.org/ Full time ARexx, PHP, Linux and Amiga freak, student and bum -- You know you've been hacking too long when... ...you pick up a rootbeer and read the label as "High Res", not Hires.

« previous php.general (#1736) next »