Reply to Re: OOP Marshalling(?) in PHP

Your name:

Reply:


Posted by Sanders Kaufman on 07/29/07 18:19

Toby A Inkster wrote:
> Jerry Stuckle wrote:
>
>> It's aggregation, not inheritance.
>
> Despite the name of the function, aggregate() actually does something a
> lot closer to multiple-inheritance than what is normally considered
> aggregation. The properties and methods of the "aggregated" class are
> taken on by the given object.

The way I solved this, I think, is to have one class that extends a base
class, and then another that extends the extended base class.

I *think* it'll work - but I cant' be sure until I try it or one of
y'all says it won't.

[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

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