Extended classes may have their own constructors which are implicitly
called, and as Jonathan mentioned, the constructor of any ancestors (ie. the
parent) must explicitly be called.
If the child (extended) class does NOT have it's own constructor method
defined, the parent's constructor is called.
Hey,
Constructors behave the same way as regular methods with inheritance,
you have to manually call the parent constructor, ie:
parent::__construct().
Regards,
Jonathan
On Tue, Dec 22, 2009 at 7:45 PM, APseudoUtopia wrote:
> Hey list,
>
> I'm writing my own class which extends upon the Memcac
2 matches
Mail list logo