Re: Anyone on the list using Moodle?
| From: | wayne | Date: | Wed, 17 Aug 2005 09:14:42 +0000 |
| Subject: | Re: Anyone on the list using Moodle? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-220740@lists.php.net to get a copy of this message | ||
On Wed, 2005-08-17 at 04:47 -0400, wayne wrote:
> 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.
>
I have one other question that I would like answered.
One of the respondents in the archive file to the
above question said that "in PHP objects don't
have to be explicitly instantiated", could someone
point me to some docs that explains this.The person
never did give an explanation.
Thanks