From: nicolasconnault Date: Mon, 23 Mar 2009 08:35:06 +0000 (+0000) Subject: MDL-18402 Merged from MOODLE_19_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9fb1634910dc864d2c7945f1b2f62d252b2b7a54;p=moodle.git MDL-18402 Merged from MOODLE_19_STABLE --- diff --git a/lib/grade/grade_item.php b/lib/grade/grade_item.php index 8c50cb2c1d..66efbd9a7e 100644 --- a/lib/grade/grade_item.php +++ b/lib/grade/grade_item.php @@ -1894,6 +1894,12 @@ class grade_item extends grade_object { } } + /** + * Returns a string representing the range of grademin - grademax for this grade item. + * @param int $rangesdisplaytype + * @param int $rangesdecimalpoints + * @return string + */ function get_formatted_range($rangesdisplaytype=null, $rangesdecimalpoints=null) { global $USER;