You are here: Re: Where is documentation of '->' syntax? « All PHP « IT news, forums, messages
Re: Where is documentation of '->' syntax?

Posted by Curtis on 10/13/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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация