The hello world tutorial for Joomla states:
$mainframe is a global variable in Joomla that has lots of useful methods attached to it.
How do I find out what these methods are? I tried searching through their documentation, but I couldn't find any clues.