It's means that what's on the right is part of the object on the left.

i.e.

$myObject->myMethod();

fires the method myMethod() of the object $myObject.

echo $myObject->myAttribute;

displays the value of the attribute myAttribute of the object $myObject.

Clear as mud?  ;)

Cal
http://www.calevans.com
 

-----Original Message-----
From: Karl J. Stubsjoen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 24, 2001 1:05 PM
To: PHP Mailing List
Subject: [PHP] ->


What does -> do?
As in:
$Something->then_something_over_here


-- 
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]



-- 
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]

Reply via email to