Re: How do I call a function in a Class from another function in the same class

From: Date: Sat, 16 Aug 2003 08:16:26 +0000
Subject: Re: How do I call a function in a Class from another function in the same class
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-159789@lists.php.net to get a copy of this message
typically problem! have you used $this->tehotherfunction(); or just use therotherfunction();??? if you call from your class to a members method , you have use $this!!! And read more about oo-method! cheers Donpro wrote:
Hi, I have two functions in a class where one calls the other. When creating my object I get an error: "Call to undefined function" I dont understand why the function can't be seen? Thanks, Don --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003


« previous php.general (#159789) next »