|
Posted by wayne on 08/17/05 12:14
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
Navigation:
[Reply to this message]
|