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. > Attach is the first 85 line of the moodle install script.What I would like to know is, if I put some code like this after the use of $CFG-> $default_classes = get_declared_classes (); print "<br>" . "THE BEGINNING = "; foreach ($default_classes as $class_name) print 'the class is ==' . $class_name . '<br />'; shouldn't I see the class that $CFG was instantiated from? Thanks.
Attachment:
wayne
Description: application/php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php