|
Posted by Curtis on 10/09/43 11:35
Jonas <joenas@web.de> wrote in message
news:don228$mcl$2@online.de...
> Curtis wrote:
> > I've looked all over, including the PHP docs and PHP
online,
> > but cannot find any discussion of the -> thing.
Google-type
> > searches are apparently ignoring it.
> >
> > I see it frequently in code as $this-> whatever, or in
the
> > form
> >
> > $something->dothis($foo,$goo);
> >
> > Can someone kindly steer me to where this is explained?
> >
> > --
> $something->foo()
>
> $something is the class, foo() the function declared
within the class
>
> if you want to learn more about object oriented
programming (oop) in php
> look at
> http://www.php.net/classobj
Ah, that makes sense, Jonas, because I encountered it when
scanning object-oriented PHP foundation-type libraries. I've
been doing purely function-procedural stuff on this project
so far, not even using classes yet.
Thanks for the link.
--
Curtis
Visit We the Thinking
www.wethethinking.com
An online magazine/forum
devoted to philosophical
thought.
[Back to original message]
|