note 14584 deleted from function.xml-set-element-handler by irchtml

From: Date: Sun, 24 Oct 2004 23:21:57 +0000
Subject: note 14584 deleted from function.xml-set-element-handler by irchtml
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-79055@lists.php.net to get a copy of this message
Note Submitter: landb at mail dot net ---- When trying to make a class dealing with XML specifically, I placed xml_set_element_handler into a method (not a constructor) and tried to declare the starthandler as another method within the same class, this casuses an error. <p> A way around this is to declare the stard/end handlers are a function outside of any classes. Then from these functions we can call the functions within classes but only after the object has been instantiated. <p> I don't think this is convinient and will request a language change.

« previous php.notes (#79055) next »