[eluser]MEM[/eluser]
In all tutorials I read, I see:
class SomeThing extends SomeOtherClass {
function SomeThing()
{
parent::SomeOtherClass();
}
}
Newbie Question:
Why do we need to load the Parent Class on the constructor if we already extend that class?
As far as I've read, once we extend a class and we don't declare a construct method, the Parent construc method will be used instead. Isn't this correct ? If so, why this?
Thanks,
Márcio