Forum Moderators: coopster
Class B's constructor calls the constructor in the base class with the parent:: prefix.
1. How can I call the constructor in the base class from C's constructor without referring directly to the name of the base class? ie. A::__construct(). I would like to keep it more flexible/relative in a parent::parent:: or top:: kind of way?!
2. Or may be (in true OOP style) I should restructure the code so that calling the constructor in the parent::parent:: is unneccesary?
Thanks.