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

Files

file  edit_randomsamatch_form.php
 Defines the editing form for the randomsamatch question type.
 
file  helper.php
 Test helpers for the randomsamatch question type.
 
file  lib.php
 Serve question type files.
 
file  lib.php
 Serve question type files.
 
file  provider.php
 Privacy Subsystem implementation for qtype_randomsamatch.
 
file  question.php
 Matching question definition class.
 
file  questiontype.php
 Question type class for the randomsamatch 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 randomsamatch question type.
 
file  version.php
 Version information for the randomsamatch question type.
 

Namespaces

namespace  qtype_randomsamatch\privacy
  
 

Classes

class  moodle1_qtype_randomsamatch_handler
 Random shortanswer matching question type conversion handler. More...
 
class  qtype_randomsamatch
 The randomsamatch question type class. More...
 
class  qtype_randomsamatch\privacy\provider
 Privacy Subsystem for qtype_randomsamatch implementing null_provider. More...
 
class  qtype_randomsamatch_edit_form
 randomsamatch editing form definition. More...
 
class  qtype_randomsamatch_qe2_attempt_updater
 Class for converting attempt data for randomsamatch questions when upgrading attempts to the new question engine. More...
 
class  qtype_randomsamatch_question
 Represents a randomsamatch question. More...
 
class  qtype_randomsamatch_question_loader
 This class is responsible for loading the questions that a question needs from the database. More...
 
class  qtype_randomsamatch_renderer
 Generates the output for randomsamatch questions. More...
 
class  qtype_randomsamatch_test_helper
 Test helper class for the randomsamatch question type. More...
 
class  qtype_randomsamatch_test_question_loader
 Test implementation of qtype_randomsamatch_question_loader. More...
 

Functions

 qtype_randomsamatch_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array())
 
 xmldb_qtype_randomsamatch_upgrade ($oldversion)
 Upgrade code for the random short answer matching question type. More...
 

Variables

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

Detailed Description

Function Documentation

◆ xmldb_qtype_randomsamatch_upgrade()

xmldb_qtype_randomsamatch_upgrade (   $oldversion)

Upgrade code for the random short answer matching question type.

Parameters
int$oldversionthe version we are upgrading from.

Variable Documentation

◆ dependencies

$plugin dependencies
Initial value:
= array(
'qtype_match' => 2020060900,
'qtype_shortanswer' => 2020060900,
)