* R. Van Tassel <[EMAIL PROTECTED]>:
> ------=_NextPart_000_0039_01C4D88C.AECDCB00
> Content-Type: text/plain;
>       charset="us-ascii"
> Content-Transfer-Encoding: 7bit
>
> Can someone please point me to the php documentation where it explains
>
> $this - > 
>
> What is the symbol "- >" and is $this something only used in classes?
>
> I can't find any information that explains this specifically but see it used
> everywhere.

It's in http://php.net/oop and/or http://php.net/oop5 (php5). $this is a
special variable used within methods of classes to indicate the current
object instance. The '->' notation is used to access object properties
and methods.

-- 
Matthew Weier O'Phinney           | mailto:[EMAIL PROTECTED]
Webmaster and IT Specialist       | http://www.garden.org
National Gardening Association    | http://www.kidsgardening.com
802-863-5251 x156                 | http://nationalgardenmonth.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to