"$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:[EMAIL PROTECTED]] Sent: Monday, November 05, 2001 12:17 PM To: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]