PHP5 OOP: Abstract classes, multiple inheritance and constructors

[email protected] (Micky Hulse)
Newsgroups php.general
Message-ID <CALri7Mm5cLRTRCHutS79_36rEw0Ta5hv+kUizHsz_pATvbr4ug@mail.gmail.com>
Example/working code here:

<https://gist.github.com/mhulse/5833826>

Couple questions:

1. Is there anything wrong with the way I'm using the abstract class?
If so, how could I improve the logic/setup?

2. Is there a way for me to pass $foo to the parent class, from the
child, without having to ferry that variable through the abstract
class? In other words, is there such a thing as:

parent::parent::__construct($foo);

... I want to have my abstract class constructor do things, yet I'd
like to avoid having to repeat myself for when it comes to passing
constructor arguments from the child.

Any tips would be appreciated. Sorry if silly questions.

Thanks!
Micky
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.