Re: Can anyone explain what this does?
| From: | James Tan | Date: | Sun, 15 Jul 2001 15:39:20 +0000 |
| Subject: | Re: Can anyone explain what this does? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-57945@lists.php.net to get a copy of this message | ||
hi kurt lieber,
ok, did u gone through the tutorial on oop with php??
$this stands for the class reference and file is one of the variable
inside the class...
u can specify this only in the function of the same class...
regards,
James
Kurt Lieber wrote:
> I'm sure this is a simple one, but I've never seen it before:
>
> $this->file = $file;
>
> I'm specifically confused about the -> operator and what that does.
>
> I looked in the online documentation under operators, but didn't find
> anything. Ideally, if someone can point me to the location in the
> documentation that talks about this so I can get more info, I'd
> appreciate it.
>
> Thanks.
>
> --kurt