RE: [PHP] class inheritance question

From: Date: Tue, 08 May 2001 18:11:31 +0000
Subject: RE: [PHP] class inheritance question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-51947@lists.php.net to get a copy of this message
yes, as will: Class C extends B{ function cc(){ $this->bb(); // Will this work ? <-- YES $this->aa(); } } -----Original Message----- From: py [mailto:pylem@sympatico.ca] Sent: 08 May 2001 14:02 To: php-general@lists.php.net 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

« previous php.general (#51947) next »