Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

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

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: 204 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.