protected function fetch_student_grades(\core_analytics\course $course) {
        $courseactivities = $course->get_all_activities($this->get_activity_type());
        $this->grades = $course->get_student_grades($courseactivities);
    }
protected function fetch_student_grades(\core_analytics\course $course) {
        $courseactivities = $course->get_all_activities($this->get_activity_type());
        $this->grades = $course->get_student_grades($courseactivities);
    }
protected function fetch_student_grades ( \ core_analytics \ course $ course ) { $ courseactivities = $ course -> get_all_activities ( $ this -> get_activity_type ( ) ) ; $ this -> grades = $ course -> get_student_grades ( $ courseactivities ) ; }
Gets the course student grades.

@param \core_analytics\course $course
@return void
Gets the course student grades .