RE: [PHP] question about :: usage
| From: | Chris W. Parker | Date: | Fri, 07 Nov 2003 20:07:28 +0000 |
| Subject: | RE: [PHP] question about :: usage | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-168904@lists.php.net to get a copy of this message | ||
Eugene Lee <mailto:list-php-1@fsck.net>
on Friday, November 07, 2003 12:00 PM said:
> Won't work. $this refers to the instance of an object.
Yeah I've decided to just instantiate an object. It's not really a big
deal I guess, I just thought it might be a little cleaner to not
instantiate. A friend suggested I might be able to do Class::Method();
instead of $this->Method(); but that would defeat the whole person
anyway.
Chris.
--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/