public function get_aggregate_label($aggregationmethod) {
        $aggregatelabel = '';
        switch ($aggregationmethod) {
            case RATING_AGGREGATE_AVERAGE :
                $aggregatelabel .= get_string("aggregateavg", "rating");
                break;
            case RATING_AGGREGATE_COUNT :
                $aggregatelabel .= get_string("aggregatecount", "rating");
                break;
            case RATING_AGGREGATE_MAXIMUM :
                $aggregatelabel .= get_string("aggregatemax", "rating");
                break;
            case RATING_AGGREGATE_MINIMUM :
                $aggregatelabel .= get_string("aggregatemin", "rating");
                break;
            case RATING_AGGREGATE_SUM :
                $aggregatelabel .= get_string("aggregatesum", "rating");
                break;
        }
        $aggregatelabel .= get_string('labelsep', 'langconfig');
        return $aggregatelabel;
    }
public function get_aggregate_label($aggregationmethod) {
        $aggregatelabel = '';
        switch ($aggregationmethod) {
            case RATING_AGGREGATE_AVERAGE :
                $aggregatelabel .= get_string("aggregateavg", "rating");
                break;
            case RATING_AGGREGATE_COUNT :
                $aggregatelabel .= get_string("aggregatecount", "rating");
                break;
            case RATING_AGGREGATE_MAXIMUM :
                $aggregatelabel .= get_string("aggregatemax", "rating");
                break;
            case RATING_AGGREGATE_MINIMUM :
                $aggregatelabel .= get_string("aggregatemin", "rating");
                break;
            case RATING_AGGREGATE_SUM :
                $aggregatelabel .= get_string("aggregatesum", "rating");
                break;
        }
        $aggregatelabel .= get_string('labelsep', 'langconfig');
        return $aggregatelabel;
    }
public function get_aggregate_label ( $ aggregationmethod ) { $ aggregatelabel = '' ; switch ( $ aggregationmethod ) { case RATING_AGGREGATE_AVERAGE : $ aggregatelabel .= get_string ( "aggregateavg" , "rating" ) ; break ; case RATING_AGGREGATE_COUNT : $ aggregatelabel .= get_string ( "aggregatecount" , "rating" ) ; break ; case RATING_AGGREGATE_MAXIMUM : $ aggregatelabel .= get_string ( "aggregatemax" , "rating" ) ; break ; case RATING_AGGREGATE_MINIMUM : $ aggregatelabel .= get_string ( "aggregatemin" , "rating" ) ; break ; case RATING_AGGREGATE_SUM : $ aggregatelabel .= get_string ( "aggregatesum" , "rating" ) ; break ; } $ aggregatelabel .= get_string ( 'labelsep' , 'langconfig' ) ; return $ aggregatelabel ; }
Returns a string that describes the aggregation method that was provided.

@param string $aggregationmethod
@return string describes the aggregation method that was provided
Returns a string that describes the aggregation method that was provided .