Used to output the attempt history chooser for a particular assignment.
More...
|
| __construct ($submissions, $grades, $coursemoduleid, $userid) |
| Constructor.
|
|
| export_for_template (renderer_base $output) |
| Function to export the renderer data in a format that is suitable for a mustache template.
|
|
|
int | $coursemoduleid = 0 |
| coursemoduleid - The cmid for the assignment
|
|
array | $grades = array() |
| grades - The grades for the previous attempts
|
|
int | $submissioncount |
| submission count
|
|
array | $submissions = array() |
| submissions - The list of previous attempts
|
|
int | $userid = 0 |
| userid - The current userid
|
|
Used to output the attempt history chooser for a particular assignment.
- Copyright
- 2016 Damyon Wiese
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
assign_attempt_history_chooser::__construct |
( |
| $submissions, |
|
|
| $grades, |
|
|
| $coursemoduleid, |
|
|
| $userid ) |
Constructor.
- Parameters
-
array | $submissions | |
array | $grades | |
int | $coursemoduleid | |
int | $userid | |
◆ export_for_template()
assign_attempt_history_chooser::export_for_template |
( |
renderer_base | $output | ) |
|
Function to export the renderer data in a format that is suitable for a mustache template.
- Parameters
-
renderer_base | $output | Used to do a final render of any components that need to be rendered for export. |
- Return values
-
The documentation for this class was generated from the following file:
- mod/assign/renderable.php