Global variables and settings documentation

Global variables and settings documentation

by Fred Riley -
Number of replies: 2

I'm a newbie Moodle developer (though long-experienced in PHP and whatnot), and am working through the blocks tutorials. I'm getting a bit 'lost in docs' trying to find out where various variables and settings are defined and documented. I can see that some are defined in core PHP scripts, but it would be really useful if I could bookmark documentation on:

  • Moodle global variables ($CFG, $USER, etc)
  • Moodle settings (eg Allow_HTML)

Could anyone point me towards these, if they exist? I'm on v2.6 the now.

Fred


Average of ratings: -
In reply to Fred Riley

Re: Global variables and settings documentation

by David Mudrák -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators
In reply to David Mudrák

Re: Global variables and settings documentation

by Fred Riley -

The FAQ doesn't answer my question, David, but it's useful to know about anyway, so thanks for the pointer.

Fred