Renderable grading summary.
More...
|
| __construct ($participantcount, $submissiondraftsenabled, $submissiondraftscount, $submissionsenabled, $submissionssubmittedcount, $cutoffdate, $duedate, $coursemoduleid, $submissionsneedgradingcount, $teamsubmission, $warnofungroupedusers, $courserelativedatesmode, $coursestartdate, $cangrade=true, $isvisible=true) |
| constructor More...
|
|
|
boolean | $cangrade = false |
| cangrade - Can the current user grade students?
|
|
int | $coursemoduleid = 0 |
| coursemoduleid - The assignment course module id
|
|
boolean | $courserelativedatesmode = false |
| relativedatesmode - Is the course a relative dates mode course or not
|
|
int | $coursestartdate |
| coursestartdate - start date of the course as a unix timestamp
|
|
int | $cutoffdate = 0 |
| cutoffdate - The assignment cut off date (if one is set)
|
|
int | $duedate = 0 |
| duedate - The assignment due date (if one is set)
|
|
boolean | $isvisible = true |
| isvisible - Is the assignment's context module visible to students?
|
|
int | $participantcount = 0 |
| participantcount - The number of users who can submit to this assignment
|
|
int | $submissiondraftscount = 0 |
| submissiondraftscount - The number of submissions in draft status
|
|
bool | $submissiondraftsenabled = false |
| submissiondraftsenabled - Allow submission drafts
|
|
bool | $submissionsenabled = false |
| submissionsenabled - Allow submissions
|
|
int | $submissionsneedgradingcount = 0 |
| submissionsneedgradingcount - The number of submissions that need grading
|
|
int | $submissionssubmittedcount = 0 |
| submissionssubmittedcount - The number of submissions in submitted status
|
|
boolean | $teamsubmission = false |
| teamsubmission - Are team submissions enabled for this assignment
|
|
boolean | $warnofungroupedusers = false |
| warnofungroupedusers - Do we need to warn people that there are users without groups
|
|
string const | WARN_GROUPS_NO = false |
| no warning needed about group submissions
|
|
string const | WARN_GROUPS_OPTIONAL = 'warnoptional' |
| warn about group submissions, as some will submit as 'Default group'
|
|
string const | WARN_GROUPS_REQUIRED = 'warnrequired' |
| warn about group submissions, as groups are required
|
|
Renderable grading summary.
- Copyright
- 2012 NetSpot
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
assign_grading_summary::__construct |
( |
|
$participantcount, |
|
|
|
$submissiondraftsenabled, |
|
|
|
$submissiondraftscount, |
|
|
|
$submissionsenabled, |
|
|
|
$submissionssubmittedcount, |
|
|
|
$cutoffdate, |
|
|
|
$duedate, |
|
|
|
$coursemoduleid, |
|
|
|
$submissionsneedgradingcount, |
|
|
|
$teamsubmission, |
|
|
|
$warnofungroupedusers, |
|
|
|
$courserelativedatesmode, |
|
|
|
$coursestartdate, |
|
|
|
$cangrade = true , |
|
|
|
$isvisible = true |
|
) |
| |
constructor
- Parameters
-
int | $participantcount | |
bool | $submissiondraftsenabled | |
int | $submissiondraftscount | |
bool | $submissionsenabled | |
int | $submissionssubmittedcount | |
int | $cutoffdate | |
int | $duedate | |
int | $coursemoduleid | |
int | $submissionsneedgradingcount | |
bool | $teamsubmission | |
string | $warnofungroupedusers | |
bool | $courserelativedatesmode | true if the course is using relative dates, false otherwise. |
int | $coursestartdate | unix timestamp representation of the course start date. |
bool | $cangrade | |
bool | $isvisible | |
The documentation for this class was generated from the following file: