Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Renderable grading summary. More...
Public Member Functions | |
__construct ($participantcount, $submissiondraftsenabled, $submissiondraftscount, $submissionsenabled, $submissionssubmittedcount, $cutoffdate, $duedate, $timelimit, $coursemoduleid, $submissionsneedgradingcount, $teamsubmission, $warnofungroupedusers, $courserelativedatesmode, $coursestartdate, $cangrade=true, $isvisible=true, cm_info $cm=null) | |
constructor | |
Public Attributes | |
boolean | $cangrade = false |
cangrade - Can the current user grade students? | |
cm_info | $cm = null |
$cm - The course module object. | |
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 | |
int | $timelimit = 0 |
timelimit - The assignment time limit (if one is set) | |
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.
assign_grading_summary::__construct | ( | $participantcount, | |
$submissiondraftsenabled, | |||
$submissiondraftscount, | |||
$submissionsenabled, | |||
$submissionssubmittedcount, | |||
$cutoffdate, | |||
$duedate, | |||
$timelimit, | |||
$coursemoduleid, | |||
$submissionsneedgradingcount, | |||
$teamsubmission, | |||
$warnofungroupedusers, | |||
$courserelativedatesmode, | |||
$coursestartdate, | |||
$cangrade = true, | |||
$isvisible = true, | |||
cm_info | $cm = null ) |
constructor
int | $participantcount | |
bool | $submissiondraftsenabled | |
int | $submissiondraftscount | |
bool | $submissionsenabled | |
int | $submissionssubmittedcount | |
int | $cutoffdate | |
int | $duedate | |
int | $timelimit | |
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 | |
cm_info | null | $cm | The course module object. |