Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
mod_assign\output\assign_submission_status Class Reference

This file contains the definition for the renderable assign submission status. More...

Inheritance diagram for mod_assign\output\assign_submission_status:
renderable assign_submission_status_compact

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, $timelimit)
 Constructor.
 

Public Attributes

int $allowsubmissionsfromdate = 0
 allowsubmissionsfromdate
 
bool $alwaysshowdescription = false
 alwaysshowdescription
 
string $attemptreopenmethod
 attemptreopenmethod
 
bool $blindmarking = false
 blindmarking - Should we hide student identities from graders?
 
bool $canedit = false
 canedit
 
bool $caneditowner
 
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
 maxattempts
 
bool $preventsubmissionnotingroup = 0
 preventsubmissionnotingroup
 
string $returnaction = ''
 returnaction
 
string $returnparams = array()
 returnparams
 
mixed $submission = null
 the submission info (may be null or an integer)
 
mixed $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
 
int $timelimit = 0
 The time limit for the assignment.
 
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.
 

Detailed Description

This file contains the definition for the renderable assign submission status.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

mod_assign\output\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,
$timelimit )

Constructor.

Parameters
int$allowsubmissionsfromdate
bool$alwaysshowdescription
mixed$submission
bool$teamsubmissionenabled
stdClass$teamsubmission
mixed$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$extensionduedateAny extension to the due date granted for this user.
context$contextAny extension to the due date granted for this user.
bool$blindmarkingShould we hide student identities from graders?
string$gradingcontrollerpreview
string$attemptreopenmethodThe method of reopening student attempts.
int$maxattemptsHow many attempts can a student make?
string$gradingstatusThe submission status (ie. Graded, Not Released etc).
bool$preventsubmissionnotingroupPrevent submission if user is not in a group.
array$usergroupsArray containing all groups the user is assigned to.
int$timelimitThe time limit for the assignment.

The documentation for this class was generated from the following file: