Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Class: core_grade_grade_testcase  - X-Ref


test_grade_grade()   X-Ref
No description

sub_test_grade_grade_construct()   X-Ref
No description

sub_test_grade_grade_insert()   X-Ref
No description

sub_test_grade_grade_update()   X-Ref
No description

sub_test_grade_grade_fetch()   X-Ref
No description

sub_test_grade_grade_fetch_all()   X-Ref
No description

sub_test_grade_grade_load_grade_item()   X-Ref
No description

sub_test_grade_grade_standardise_score()   X-Ref
No description

sub_test_grade_grade_is_locked()   X-Ref
No description

sub_test_grade_grade_set_hidden()   X-Ref
No description

sub_test_grade_grade_is_hidden()   X-Ref
No description

test_flatten_dependencies()   X-Ref
No description

test_grade_grade_min_max()   X-Ref
No description

test_grade_grade_min_max_with_course_item()   X-Ref
No description

test_grade_grade_min_max_with_category_item()   X-Ref
No description

sub_test_grade_grade_deleted()   X-Ref
Tests when a grade_grade has been deleted.


add_feedback_file_to_copy()   X-Ref
Creates a feedback file to copy to the gradebook area.


sub_test_grade_grade_deleted_event()   X-Ref
Tests grade_deleted event.


test_category_get_hiding_affected()   X-Ref
Tests get_hiding_affected by locked category and overridden grades.


call_get_hiding_affected($course, $user)   X-Ref
Call get_hiding_affected().

param: stdClass $course The course object
param: stdClass $user The student object
return: array