RE: [PHP] what's this???
| From: | Martin Towell | Date: | Mon, 05 Nov 2001 01:37:25 +0000 |
| Subject: | RE: [PHP] what's this??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73436@lists.php.net to get a copy of this message | ||
"$this" refers to the current object
so "$this->mode" refers to the variable inside the current object called
"mode"
Hope this helps
Martin
-----Original Message-----
From: Christian C. [mailto:c@c.com]
Sent: Monday, November 05, 2001 12:17 PM
To: php-general@lists.php.net
Subject: [PHP] what's this???
Hello :c)
im looking at some code i found on the net and
i cant find any info on "this"... it's used like:
$this->mode = $mode;
I have looked in the online help doc but it did'nt
return anything, any one know??
--
Thanks
Christian Charette
www.charetx2.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net