Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Classes | Functions | Variables
locallib.php File Reference

This file contains the definition for the class assignment. More...

Classes

class  assign
 Standard base class for mod_assign (assignment types). More...
 
class  assign_portfolio_caller
 Portfolio caller class for mod_assign. More...
 

Functions

 assign_process_group_deleted_in_course ($courseid, $groupid=null)
 Logic to happen when a/some group(s) has/have been deleted in a course. More...
 
 move_group_override ($id, $move, $assignid)
 Change the sort order of an override. More...
 
 reorder_group_overrides ($assignid)
 Reorder the overrides starting at the override at the given startorder. More...
 

Variables

const ASSIGN_ATTEMPT_REOPEN_METHOD_MANUAL 'manual'
 
const ASSIGN_ATTEMPT_REOPEN_METHOD_NONE 'none'
 
const ASSIGN_ATTEMPT_REOPEN_METHOD_UNTILPASS 'untilpass'
 
const ASSIGN_EVENT_TYPE_CLOSE 'close'
 
const ASSIGN_EVENT_TYPE_DUE 'due'
 
const ASSIGN_EVENT_TYPE_GRADINGDUE 'gradingdue'
 
const ASSIGN_EVENT_TYPE_OPEN 'open'
 
const ASSIGN_FILTER_GRANTED_EXTENSION 'grantedextension'
 
const ASSIGN_FILTER_NONE 'none'
 
const ASSIGN_FILTER_NOT_SUBMITTED 'notsubmitted'
 
const ASSIGN_FILTER_REQUIRE_GRADING 'requiregrading'
 
const ASSIGN_FILTER_SINGLE_USER 'singleuser'
 
const ASSIGN_FILTER_SUBMITTED 'submitted'
 
const ASSIGN_GRADE_NOT_SET -1
 
const ASSIGN_GRADING_STATUS_GRADED 'graded'
 
const ASSIGN_GRADING_STATUS_NOT_GRADED 'notgraded'
 
const ASSIGN_INTROATTACHMENT_FILEAREA 'introattachment'
 
const ASSIGN_MARKER_FILTER_NO_MARKER -1
 
const ASSIGN_MARKING_WORKFLOW_STATE_INMARKING 'inmarking'
 
const ASSIGN_MARKING_WORKFLOW_STATE_INREVIEW 'inreview'
 
const ASSIGN_MARKING_WORKFLOW_STATE_NOTMARKED 'notmarked'
 
const ASSIGN_MARKING_WORKFLOW_STATE_READYFORRELEASE 'readyforrelease'
 
const ASSIGN_MARKING_WORKFLOW_STATE_READYFORREVIEW 'readyforreview'
 
const ASSIGN_MARKING_WORKFLOW_STATE_RELEASED 'released'
 
const ASSIGN_MAX_EVENT_LENGTH "432000"
 ASSIGN_MAX_EVENT_LENGTH = 432000 ; 5 days maximum.
 
const ASSIGN_SUBMISSION_STATUS_DRAFT 'draft'
 
const ASSIGN_SUBMISSION_STATUS_NEW 'new'
 
const ASSIGN_SUBMISSION_STATUS_REOPENED 'reopened'
 
const ASSIGN_SUBMISSION_STATUS_SUBMITTED 'submitted'
 
const ASSIGN_UNLIMITED_ATTEMPTS -1
 

Detailed Description

This file contains the definition for the class assignment.

This class provides all the functionality for the new assign module.

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