function course_format_fn(&$course) { global $mods, $modnames, $modnamesplural, $modnamesused, $sections, $DB; parent::course_format($course); $this->mods =& $mods; $this->modnames =& $modnames; $this->modnamesplural =& $modnamesplural; $this->modnamesused =& $modnamesused; $this->sections =& $sections; }
/** * Overload for now just to move the globals into this object's structure. * (Eventually, these should be part of the standard object) */ function print_body() { parent::print_body(); }