Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
qtype_match

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 user_preference_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())
 Checks file access for matching questions.
 
 xmldb_qtype_match_upgrade ($oldversion)
 Upgrade code for the matching question type.
 

Variables

global $CFG
 
 $plugin = 2023100400
 
$plugin component = 'qtype_match'
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2023100900
 

Detailed Description

Function Documentation

◆ qtype_match_pluginfile()

qtype_match_pluginfile ( $course,
$cm,
$context,
$filearea,
$args,
$forcedownload,
array $options = array() )

Checks file access for matching questions.

Parameters
stdClass$coursecourse object
stdClass$cmcourse module object
stdClass$contextcontext object
string$fileareafile area
array$argsextra arguments
bool$forcedownloadwhether or not force download
array$optionsadditional options affecting the file serving
Return values
bool

◆ xmldb_qtype_match_upgrade()

xmldb_qtype_match_upgrade ( $oldversion)

Upgrade code for the matching question type.

Parameters
int$oldversionthe version we are upgrading from.