Re: Usings functions and variables from a base class

From: Date: Thu, 13 Nov 2003 01:09:13 +0000
Subject: Re: Usings functions and variables from a base class
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-169415@lists.php.net to get a copy of this message
daniel@electroteque.org wrote:
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 ?
hmm .. smells like a reference problem, but difficult to say without any line of example code, could you provide us with some pls? By the way, what do you mean by 'perticular function from the base class which is private in a public function in the sub class'? What for trick is that?? Hope to hear more from you, Boyan --

« previous php.general (#169415) next »