Displays all assigned submissions to be reviewed and saves the calculated grade

This commit is contained in:
David Mudrak 2010-01-04 18:02:16 +00:00
parent 3dc78e5b04
commit ddb59c778f
7 changed files with 84 additions and 22 deletions

View file

@ -114,6 +114,9 @@ class moodle_mod_workshop_renderer extends moodle_renderer_base {
/**
* Display a short summary of the submission
*
* The passed submission object must define at least: id, title, timecreated, timemodified,
* authorid, authorfirstname, authorlastname, authorpicture and authorimagealt
*
* @param stdClass $submission The submission record
* @param bool $showauthorname Should the author name be displayed
* @return string html to be echoed
@ -174,7 +177,7 @@ class moodle_mod_workshop_renderer extends moodle_renderer_base {
*
* By default, this looks similar to a forum post.
*
* @param stdClass $submission The submission record
* @param stdClass $submission The submission data
* @param bool $showauthorname Should the author name be displayed
* @return string html to be echoed
*/