On Sun, 15 Jul 2001, 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.
It is not an operator, it is how you reference objects in php. $this is
the object that you are current using, and you are referencing the
objects variable $file with $this->file. For more on classes and objects,
read here:
http://php.net/manual/en/language.oop.php
--
patrik wallstrom | f o o d f i g h t
tel: +46-8-6188428 | s t o c k h o l m
gsm: +46-708405080 | - - - - - - - - -
--
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]