nerhael
04-19-2004, 05:51 PM
How do you call the super classes constructor?
Do you have to do it explicitly?
class MyClass extends MyParent {
function MyClass() {
parent::MyParent();
}
}
Or is there some other way of doing it? Is that particular version done implicitly like in Java? And you'd only do that if you have a parameterized version?
Pete.
Do you have to do it explicitly?
class MyClass extends MyParent {
function MyClass() {
parent::MyParent();
}
}
Or is there some other way of doing it? Is that particular version done implicitly like in Java? And you'd only do that if you have a parameterized version?
Pete.