Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 400 and 402] [Versions 400 and 403]

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

Copyright: 2020 Matt Porritt <mattp@catalyst-au.net>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 202 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

assign_submission_status:: (1 method):
  __construct()


Class: assign_submission_status  - X-Ref

This file contains the definition for the renderable 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)   X-Ref
Constructor

param: int $allowsubmissionsfromdate
param: bool $alwaysshowdescription
param: mixed $submission
param: bool $teamsubmissionenabled
param: \stdClass $teamsubmission
param: mixed $submissiongroup
param: array $submissiongroupmemberswhoneedtosubmit
param: bool $submissionsenabled
param: bool $locked
param: bool $graded
param: int $duedate
param: int $cutoffdate
param: array $submissionplugins
param: string $returnaction
param: array $returnparams
param: int $coursemoduleid
param: int $courseid
param: string $view
param: bool $canedit
param: bool $cansubmit
param: bool $canviewfullnames
param: int $extensionduedate Any extension to the due date granted for this user.
param: \context $context Any extension to the due date granted for this user.
param: bool $blindmarking Should we hide student identities from graders?
param: string $gradingcontrollerpreview
param: string $attemptreopenmethod The method of reopening student attempts.
param: int $maxattempts How many attempts can a student make?
param: string $gradingstatus The submission status (ie. Graded, Not Released etc).
param: bool $preventsubmissionnotingroup Prevent submission if user is not in a group.
param: array $usergroups Array containing all groups the user is assigned to.
param: int $timelimit The time limit for the assignment.