Lowell Herbert wrote:

Thanks for all the responses. I understand that $site is an instance of the class CSite, and that Run() is a function in that class. I do not understand what the operater "->" means, and what meaning the result of the function Run() has to $site. Clarification anyone?


The operator -> in this context ( $site->Run() ) sort of means "the function Run() inside the object $site".

The result of the function (if there is one) is thrown away, because you don't assign it to anything. If you did this then it would be assigned to something:

$result = $site->Run();

--
Jasper Bryant-Greene
Freelance web developer
http://jasper.bryant-greene.name/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to