In one of my models, I'm trying to parse an XML file using SAX as
follows:

                $xml_parser  =  xml_parser_create();
                xml_set_element_handler($xml_parser, "startTag", "endTag");

startTag and endTag are methods in my model.  When the code runds, I
get an error saying the methods don't exist.  Normally I would need to
call the method as $this->startTag, so what value do I provide when
PHP wants the method name as a string argument?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to