|
Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Used to output the attempt history for a particular assignment. More...
Public Member Functions | |
| __construct ($submissions, $grades, $submissionplugins, $feedbackplugins, $coursemoduleid, $returnaction, $returnparams, $cangrade, $useridlistid, $rownum) | |
| Constructor. More... | |
Public Attributes | |
| bool | $cangrade = false |
| cangrade - Does this user have grade capability? | |
| int | $coursemoduleid = 0 |
| coursemoduleid - The cmid for the assignment | |
| array | $feedbackplugins = array() |
| feedbackplugins - The list of feedback plugins to render the previous attempts | |
| array | $grades = array() |
| grades - The grades for the previous attempts | |
| string | $returnaction = '' |
| returnaction - The action for the next page. | |
| string | $returnparams = array() |
| returnparams - The params for the next page. | |
| int | $rownum = 0 |
| rownum - The rownum of the user in the useridlistid - this plus useridlistid determines the userid | |
| array | $submissionplugins = array() |
| submissionplugins - The list of submission plugins to render the previous attempts | |
| array | $submissions = array() |
| submissions - The list of previous attempts | |
| string | $useridlistid = 0 |
| useridlistid - Id of the useridlist stored in cache, this plus rownum determines the userid | |
Used to output the attempt history for a particular assignment.
| assign_attempt_history::__construct | ( | $submissions, | |
| $grades, | |||
| $submissionplugins, | |||
| $feedbackplugins, | |||
| $coursemoduleid, | |||
| $returnaction, | |||
| $returnparams, | |||
| $cangrade, | |||
| $useridlistid, | |||
| $rownum | |||
| ) |
Constructor.
| array | $submissions | |
| array | $grades | |
| array | $submissionplugins | |
| array | $feedbackplugins | |
| int | $coursemoduleid | |
| string | $returnaction | |
| array | $returnparams | |
| bool | $cangrade | |
| int | $useridlistid | |
| int | $rownum |