Posted by Oli Filth on 05/10/05 02:37
Olivier wrote:
> Hi coders!
> first of all :
<SNIP CODE>
>
> the problem is everything below the setEncoding() method. php says:
> Fatal error: Cannot call abstract method MERLINXMLTemplate::shdl() in /file/
> on line x
> but i want xml_set_element_handler() to call the methods defined in the
> inherited class.
> Anyone who has any idea of how this could be achieved?
Just a thought: you've declared shdl(), etc. as *private* member
functions. Obviously something in the outside world (including the XML
parsing engine) isn't able to call a private member of a class...
--
Oli
[Back to original message]
|