|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| assignment_offline ($cmid='staticonly', $assignment=NULL, $cm=NULL, $course=NULL) | |
| display_lateness ($timesubmitted) | |
| print_student_answer ($studentid) | |
| prepare_new_submission ($userid) | |
| process_feedback () | |
Extend the base assignment class for offline assignments
Definition at line 7 of file assignment.class.php.
| assignment_offline | ( | $ | cmid = 'staticonly', |
| $ | assignment = NULL, |
||
| $ | cm = NULL, |
||
| $ | course = NULL |
||
| ) |
| display_lateness | ( | $ | timesubmitted | ) |
Return a string indicating how late a submission is
| $timesubmitted | int |
Reimplemented from assignment_base.
Definition at line 14 of file assignment.class.php.
| prepare_new_submission | ( | $ | userid | ) |
Definition at line 21 of file assignment.class.php.
| print_student_answer | ( | $ | studentid | ) |
Definition at line 17 of file assignment.class.php.
| process_feedback | ( | ) |
For save and next, we need to know the userid to save, and the userid to go We use a new hidden field in the form, and set it to -1. If it's set, we use this as the userid to store
Definition at line 40 of file assignment.class.php.
