public function fill_per_analysable_caches(\core_analytics\analysable $analysable) {

        // Better to check it, we can not be 100% it will be a \core_analytics\course object.
        if ($analysable instanceof \core_analytics\course) {
            $this->fetch_student_grades($analysable);
        }
    }
public function fill_per_analysable_caches(\core_analytics\analysable $analysable) {

        // Better to check it, we can not be 100% it will be a \core_analytics\course object.
        if ($analysable instanceof \core_analytics\course) {
            $this->fetch_student_grades($analysable);
        }
    }
public function fill_per_analysable_caches ( \ core_analytics \ analysable $ analysable ) { // Better to check it, we can not be 100% it will be a \core_analytics\course object. if ( $ analysable instanceof \ core_analytics \ course ) { $ this -> fetch_student_grades ( $ analysable ) ; } }
Fetch the course grades of this activity type instances.

@param \core_analytics\analysable $analysable
@return void
Fetch the course grades of this activity type instances .