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
[Back to original message]
|