Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Classes | Variables
completion_criteria.php File Reference

Course completion criteria. More...

Classes

class  completion_criteria
 

Variables

global $COMPLETION_CRITERIA_TYPES
 Criteria type constant to class name mapping. More...
 
const COMPLETION_CRITERIA_TYPE_ACTIVITY 4
 Activity completion criteria type Criteria type constant, primarily for storing criteria type in the database.
 
const COMPLETION_CRITERIA_TYPE_COURSE 8
 Course completion criteria type Criteria type constant, primarily for storing criteria type in the database.
 
const COMPLETION_CRITERIA_TYPE_DATE 2
 Date completion criteria type Criteria type constant, primarily for storing criteria type in the database.
 
const COMPLETION_CRITERIA_TYPE_DURATION 5
 Duration completion criteria type Criteria type constant, primarily for storing criteria type in the database.
 
const COMPLETION_CRITERIA_TYPE_GRADE 6
 Grade completion criteria type Criteria type constant, primarily for storing criteria type in the database.
 
const COMPLETION_CRITERIA_TYPE_ROLE 7
 Role completion criteria type Criteria type constant, primarily for storing criteria type in the database.
 
const COMPLETION_CRITERIA_TYPE_SELF 1
 Self completion criteria type Criteria type constant, primarily for storing criteria type in the database.
 
const COMPLETION_CRITERIA_TYPE_UNENROL 3
 Unenrol completion criteria type Criteria type constant, primarily for storing criteria type in the database.
 

Detailed Description

Course completion criteria.