Re: PHP Syntax Notation
| From: | Mikey | Date: | Tue, 27 Sep 2005 18:16:33 +0000 |
| Subject: | Re: PHP Syntax Notation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-223298@lists.php.net to get a copy of this message | ||
Lowell Herbert wrote:
I'm trying to expand my understanding of PHP by looking at some pre- built code modules. I don't fully understand the syntax "$site->Run ();" in the following code. Can someone offer a helpful explanation? <?php //define("PB_CRYPT_LINKS" , 1); define("_LIBPATH","./lib/"); require_once _LIBPATH . "site.php"; $site = new CSite("./site.xml",true); $site->Run(); ?>Run() is a method of the CSite class - you will need to look in the defination of that class to find out what it does, Mikey