-
Improvement
-
Resolution: Fixed
-
Minor
-
2.7.2
-
None
-
MOODLE_27_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
Currently Dataform calculated grading support in a dataformfield plugin requires making the plugin class implement a grading interface and its get_user_values() method.
A more flexible way would be to add to the plugin a designated class for returning the user values. When calculating grading we can check if the class exists and call its get_user_values.