Hi all,
I am wondering, if I do the following:
class A {
function something() {
}
}
class B extends A {
function something() {
}
}
var $varB = new B;
$varB->something();
How do I make sure in the something() member of class B, that the parent
class member something() is also called? Can I do this:
class B extends A {
function something() {
// some other actions...
A::something();
}
}
Or do I need to do something else?
Thanks,
Alexander.
--
PS: Replace the underscore (_) in my e-mail address with a minus sign (-).
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]