Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Renderable submission status. More...
Public Member Functions | |
__construct ($allowsubmissionsfromdate, $alwaysshowdescription, $submission, $teamsubmissionenabled, $teamsubmission, $submissiongroup, $submissiongroupmemberswhoneedtosubmit, $submissionsenabled, $locked, $graded, $duedate, $cutoffdate, $submissionplugins, $returnaction, $returnparams, $coursemoduleid, $courseid, $view, $canedit, $cansubmit, $canviewfullnames, $extensionduedate, $context, $blindmarking, $gradingcontrollerpreview, $attemptreopenmethod, $maxattempts, $gradingstatus, $preventsubmissionnotingroup, $usergroups) | |
Constructor. More... | |
Public Attributes | |
int | $allowsubmissionsfromdate = 0 |
allowsubmissionsfromdate | |
bool | $alwaysshowdescription = false |
alwaysshowdescription | |
string | $attemptreopenmethod = 'none' |
attemptreopenmethod | |
bool | $blindmarking = false |
blindmarking - Should we hide student identities from graders? | |
bool | $canedit = false |
canedit | |
bool | $cansubmit = false |
cansubmit | |
bool | $canviewfullnames = false |
canviewfullnames | |
context | $context = 0 |
context | |
int | $courseid = 0 |
courseid | |
int | $coursemoduleid = 0 |
coursemoduleid | |
int | $cutoffdate = 0 |
cutoffdate | |
int | $duedate = 0 |
duedate | |
int | $extensionduedate = 0 |
extensionduedate | |
bool | $graded = false |
graded | |
string | $gradingcontrollerpreview = '' |
gradingcontrollerpreview | |
string | $gradingstatus = '' |
gradingstatus | |
bool | $locked = false |
locked | |
int | $maxattempts = -1 |
maxattempts | |
bool | $preventsubmissionnotingroup = 0 |
preventsubmissionnotingroup | |
string | $returnaction = '' |
returnaction | |
string | $returnparams = array() |
returnparams | |
stdClass | $submission = null |
the submission info (may be null) | |
stdClass | $submissiongroup = null |
submissiongroup the submission group info (may be null) | |
array | $submissiongroupmemberswhoneedtosubmit = array() |
submissiongroupmemberswhoneedtosubmit list of users who still need to submit | |
array | $submissionplugins = array() |
submissionplugins - the list of submission plugins | |
bool | $submissionsenabled = false |
submissionsenabled | |
stdClass | $teamsubmission = null |
teamsubmission the team submission info (may be null) | |
boolean | $teamsubmissionenabled = false |
teamsubmissionenabled - true or false | |
array | $usergroups = array() |
usergroups | |
int | $view = self::STUDENT_VIEW |
the view (STUDENT_VIEW OR GRADER_VIEW) | |
int const | GRADER_VIEW = 20 |
GRADER_VIEW. | |
int const | STUDENT_VIEW = 10 |
STUDENT_VIEW. | |
Renderable submission status.
assign_submission_status::__construct | ( | $allowsubmissionsfromdate, | |
$alwaysshowdescription, | |||
$submission, | |||
$teamsubmissionenabled, | |||
$teamsubmission, | |||
$submissiongroup, | |||
$submissiongroupmemberswhoneedtosubmit, | |||
$submissionsenabled, | |||
$locked, | |||
$graded, | |||
$duedate, | |||
$cutoffdate, | |||
$submissionplugins, | |||
$returnaction, | |||
$returnparams, | |||
$coursemoduleid, | |||
$courseid, | |||
$view, | |||
$canedit, | |||
$cansubmit, | |||
$canviewfullnames, | |||
$extensionduedate, | |||
$context, | |||
$blindmarking, | |||
$gradingcontrollerpreview, | |||
$attemptreopenmethod, | |||
$maxattempts, | |||
$gradingstatus, | |||
$preventsubmissionnotingroup, | |||
$usergroups | |||
) |
Constructor.
int | $allowsubmissionsfromdate | |
bool | $alwaysshowdescription | |
stdClass | $submission | |
bool | $teamsubmissionenabled | |
stdClass | $teamsubmission | |
int | $submissiongroup | |
array | $submissiongroupmemberswhoneedtosubmit | |
bool | $submissionsenabled | |
bool | $locked | |
bool | $graded | |
int | $duedate | |
int | $cutoffdate | |
array | $submissionplugins | |
string | $returnaction | |
array | $returnparams | |
int | $coursemoduleid | |
int | $courseid | |
string | $view | |
bool | $canedit | |
bool | $cansubmit | |
bool | $canviewfullnames | |
int | $extensionduedate | - Any extension to the due date granted for this user |
context | $context | - Any extension to the due date granted for this user |
bool | $blindmarking | - Should we hide student identities from graders? |
string | $gradingcontrollerpreview | |
string | $attemptreopenmethod | - The method of reopening student attempts. |
int | $maxattempts | - How many attempts can a student make? |
string | $gradingstatus | - The submission status (ie. Graded, Not Released etc). |
bool | $preventsubmissionnotingroup | - Prevent submission if user is not in a group |
array | $usergroups | - Array containing all groups the user is assigned to |