Usings functions and variables from a base class
| From: | daniel at electroteque dot org | Date: | Thu, 13 Nov 2003 00:10:16 +0000 |
| Subject: | Usings functions and variables from a base class | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-169409@lists.php.net to get a copy of this message | ||
Hi there i am having problems using a functions from a base class in a sub
class. I am using a perticular function from the base class which is
private in a public function in the sub class which is checking for a
variable which is set in a function in the base class. Anyway, its doesnt
seem to register that variable for some reason. I have initiated the base
class in the constructor like parent::DB; , what do you reckon is the
problemo ?