public function setup_structure() {
        $this->structure = new grade_structure();
        $this->structure->modinfo = get_fast_modinfo($this->course);
    }
public function setup_structure() {
        $this->structure = new grade_structure();
        $this->structure->modinfo = get_fast_modinfo($this->course);
    }
public function setup_structure ( ) { $ this -> structure = new grade_structure ( ) ; $ this -> structure -> modinfo = get_fast_modinfo ( $ this -> course ) ; }
Cache the grade_structure class
Cache the grade_structure class