You are here: Re: what does this operator do -> « PHP Programming Language « IT news, forums, messages
Re: what does this operator do ->

Posted by Colin Fine on 10/11/06 22:00

allan wrote:
> Hi
> In the example below what does the '->' mean
>
> $proc->importStyleSheet($xsl);
>
> Cheers
> Allan

It says to apply the method importStyleSheet to the object $proc.
importStyleSheet must be a method of the class to which $proc belongs.

This is absolutely basic OO stuff - if you're not familiar with it, and
you need to understand or work on some code that uses it, you're going
need to read up on it.


http://www.php.net/manual/en/language.oop.php (PHP4) and
http://www.php.net/manual/en/language.oop5.php (PHP5) explain how PHP
does OO, but I haven't found anything in php.net that explains the
concepts of OO.

Colin

 

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

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