Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Files | Namespaces | Classes | Functions | Variables
qtype_match

Files

file  edit_match_form.php
 Defines the editing form for the match question type.
 
file  helper.php
 Test helpers for the match question type.
 
file  lib.php
 
file  lib.php
 Serve question type files.
 
file  provider.php
 Privacy Subsystem implementation for qtype_match.
 
file  question.php
 Matching question definition class.
 
file  questiontype.php
 Question type class for the matching question type.
 
file  renderer.php
 Matching question renderer class.
 
file  upgrade.php
 Matching question type upgrade code.
 
file  upgradelib.php
 Upgrade library code for the match question type.
 
file  version.php
 Version information for the matching question type.
 

Namespaces

namespace  qtype_match\privacy
  
 

Classes

class  moodle1_qtype_match_handler
 Matching question type conversion handler. More...
 
class  qtype_match
 The matching question type class. More...
 
class  qtype_match\privacy\provider
 Privacy Subsystem for qtype_match implementing null_provider. More...
 
class  qtype_match_edit_form
 Match question type editing form definition. More...
 
class  qtype_match_qe2_attempt_updater
 Class for converting attempt data for match questions when upgrading attempts to the new question engine. More...
 
class  qtype_match_question
 Represents a matching question. More...
 
class  qtype_match_renderer
 Generates the output for matching questions. More...
 
class  qtype_match_test_helper
 Test helper class for the match question type. More...
 

Functions

 qtype_match_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array())
 
 xmldb_qtype_match_upgrade ($oldversion)
 Upgrade code for the matching question type. More...
 

Variables

global $CFG
 
 $plugin = 2020060900
 
$plugin component = 'qtype_match'
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2020061500
 

Detailed Description

Function Documentation

◆ xmldb_qtype_match_upgrade()

xmldb_qtype_match_upgrade (   $oldversion)

Upgrade code for the matching question type.

Parameters
int$oldversionthe version we are upgrading from.