Posts made by Martin Dougiamas

Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Plugin developers Picture of Testers
The CFG variables are mostly just the contents of the "config" table in the database. The $CFG object gets recreated from the database on every page request (so all users will see changes immediately).

You can set new entries in this table using set_config() and get them using the corresponding get_config() any time you like in your code.
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Plugin developers Picture of Testers
Yes, the trouble is just security. A teacher in one course should not see all the grades from other courses. So we'll need a new capability that you'd have to have assigned at system level or at the user level. Plus you may want to switch between seeing this overview and seeing just the grades for one course (as now), so there is some GUI to develop. See MDL-12916 for this.

There is also this coming:

http://docs.moodle.org/en/Development:Progress_tracking