Re: Anyone on the list using Moodle?
| From: | wayne | Date: | Wed, 17 Aug 2005 08:47:01 +0000 |
| Subject: | Re: Anyone on the list using Moodle? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-220735@lists.php.net to get a copy of this message | ||
On Tue, 2005-08-16 at 17:41 -0400, wayne wrote:
> Hi,
> Before I post some of the install script for
> Moodle I thought that I would ask how
> $CFG gets instantiated in the install.php script.
> Thanks.
>
Okay, I got a reply from a moodle user pointing
me to an archive, apparently someone had the same
question. The answer seems to be that $CFG is
an array dressed up as an object.The books that
I'm learning from don't show this concept. Could
some kind soul give an example.
Thanks.