This some thing like C++ this pointer.
Actually $this refers to current class object pointer in C++.

>  $this->vendor = $vendor;

It seems that you could have defined vendor in a class which should have a
field named vendor.
Got it ?

-murugesan


----- Original Message -----
From: "James Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 14, 2003 12:44 PM
Subject: [PHP] What does -> mean?


> Hello,
>
> I've searched through Zend and php.net and can't find the answer.
>
> In the following code:
>
>  $this->vendor = $vendor;
>
> What does the -> mean or do?
>
> Thanks,
> James
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


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

Reply via email to