public function aggregate_values($grade_values, $items) {
        debugging('grade_category::aggregate_values() is deprecated.
                   Call grade_category::aggregate_values_and_adjust_bounds() instead.', DEBUG_DEVELOPER);
        $result = $this->aggregate_values_and_adjust_bounds($grade_values, $items);
        return $result['grade'];
    }
public function aggregate_values($grade_values, $items) {
        debugging('grade_category::aggregate_values() is deprecated.
                   Call grade_category::aggregate_values_and_adjust_bounds() instead.', DEBUG_DEVELOPER);
        $result = $this->aggregate_values_and_adjust_bounds($grade_values, $items);
        return $result['grade'];
    }
public function aggregate_values ( $ grade_values , $ items ) { debugging ( 'grade_category::aggregate_values() is deprecated.
                   Call grade_category::aggregate_values_and_adjust_bounds() instead.' , DEBUG_DEVELOPER ) ; $ result = $ this -> aggregate_values_and_adjust_bounds ( $ grade_values , $ items ) ; return $ result [ 'grade' ] ; }
Internal function that calculates the aggregated grade for this grade category

Must be public as it is used by grade_grade::get_hiding_affected()

@deprecated since Moodle 2.8
@param array $grade_values An array of values to be aggregated
@param array $items The array of grade_items
@return float The aggregate grade for this grade category
Internal function that calculates the aggregated grade for this grade category