Reply to Re: abstract classes and inheritance in php5

Your name:

Reply:


Posted by Janwillem Borleffs on 05/29/05 00:18

Ollie wrote:
> in a code like the above, how can you force all the inherited classes
> to implement a method like init() ?
>

Not possible, because only the class that extends the abstract class is
forced to implement the method.

Other classes just inherit the method.


JW

[Back to original 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

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