On Monday 03 September 2001 09:47, A. op de Weegh wrote:
> 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:
Hello there, person with the same name as self, :)
class B extends A {
function something() {
// some other actions
$this->something(); // calls A::something
}
}
I've used this code for calling base class constructors. These ofcourse have
different names, while your functions are both called the same. I don't think
that should make any difference, though.
ad.
--
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]