yes, as will:
Class C extends B{
function cc(){
$this->bb(); // Will this work ? <-- YES
$this->aa();
}
}
-----Original Message-----
From: py [mailto:[EMAIL PROTECTED]]
Sent: 08 May 2001 14:02
To: [EMAIL PROTECTED]
Subject: [PHP] class inheritance question
Hello,
Class A{
function aa(){}
}
Class B extends A{
function bb(){
$this->aa(); // I know this is ok
}
}
Class C extends B{
function cc(){
$this->bb(); // Will this work ?
}
}
py
--
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]