You are here: Re: abstract class in php5 and xml parsing problem « PHP Language « IT news, forums, messages
Re: abstract class in php5 and xml parsing problem

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация