mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
Added validation to grading form, implemented methods in advanced grading to return form contents and process and return the final grade
This commit is contained in:
parent
6abcb0c21f
commit
18e6298c7b
4 changed files with 133 additions and 7 deletions
|
@ -264,6 +264,16 @@ abstract class gradingform_controller {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Saves non-js data and returns the gradebook grade
|
||||
*/
|
||||
abstract public function save_and_get_grade($itemid, $formdata);
|
||||
|
||||
/**
|
||||
* Returns html for form element
|
||||
*/
|
||||
abstract public function to_html($elementname, $itemid);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue