Re: [PHP] Multiple Inheritance Needed in OOP?

2009-12-29 Thread Daniel Kolbo
Larry Garfield wrote: On Monday 28 December 2009 9:45:03 pm Daniel Kolbo wrote: Hello, Okay so PHP designers explicitly decided against multiple inheritances, but aren't there legitimate needs for multiple inheritance in OOP? For example, consider the following three classes (A,B,C) with

Re: [PHP] Multiple Inheritance Needed in OOP?

2009-12-29 Thread Daniel Egeberg
On Wed, Dec 30, 2009 at 01:24, Daniel Kolbo kolb0...@umn.edu wrote: This way multiple inheritance is available for those that legitimately need it [...] Could you by any chance provide an example where multiple inheritance would be required? To be honest, I've never really seen a use for it,

Re: [PHP] Multiple Inheritance Needed in OOP?

2009-12-29 Thread Daniel Kolbo
Daniel Egeberg wrote: On Wed, Dec 30, 2009 at 01:24, Daniel Kolbo kolb0...@umn.edu wrote: This way multiple inheritance is available for those that legitimately need it [...] Could you by any chance provide an example where multiple inheritance would be required? To be honest, I've never

Re: [PHP] Multiple Inheritance Needed in OOP?

2009-12-28 Thread Larry Garfield
On Monday 28 December 2009 9:45:03 pm Daniel Kolbo wrote: Hello, Okay so PHP designers explicitly decided against multiple inheritances, but aren't there legitimate needs for multiple inheritance in OOP? For example, consider the following three classes (A,B,C) with the following properties