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

Files

file  backup_qtype_ddwtos_plugin.class.php
 Backup code for ddwtos.
 
file  behat_qtype_ddwtos.php
 Behat steps definitions for drag and drop into text.
 
file  edit_ddwtos_form.php
 Defines the editing form for the drag-and-drop words into sentences question type.
 
file  helper.php
 Test helpers for the drag-and-drop words into sentences question type.
 
file  lib.php
 Serve question type files.
 
file  provider.php
 Privacy Subsystem implementation for qtype_ddwtos.
 
file  question.php
 Drag-and-drop words into sentences question definition class.
 
file  questiontype.php
 Question type class for the drag-and-drop words into sentences question type.
 
file  renderer.php
 Drag-and-drop words into sentences question renderer class.
 
file  restore_qtype_ddwtos_plugin.class.php
 Restore code for qtype_ddwtos.
 
file  version.php
 Version information for the drag-and-drop words into sentences question type.
 

Namespaces

namespace  qtype_ddwtos\privacy
  
 

Classes

class  backup_qtype_ddwtos_plugin
 Provides the information to backup ddwtos questions. More...
 
class  behat_qtype_ddwtos
 Steps definitions related with the drag and drop into text question type. More...
 
class  qtype_ddwtos
 The drag-and-drop words into sentences question type class. More...
 
class  qtype_ddwtos\privacy\provider
 Privacy Subsystem for qtype_ddwtos implementing null_provider. More...
 
class  qtype_ddwtos_choice
 Represents one of the choices (draggable boxes). More...
 
class  qtype_ddwtos_edit_form
 Drag-and-drop words into sentences editing form definition. More...
 
class  qtype_ddwtos_question
 Represents a drag-and-drop words into sentences question. More...
 
class  qtype_ddwtos_renderer
 Generates the output for drag-and-drop words into sentences questions. More...
 
class  qtype_ddwtos_test_helper
 Test helper class for the drag-and-drop words into sentences question type. More...
 
class  restore_qtype_ddwtos_plugin
 Restore plugin class that provides the necessary information needed to restore one ddwtos qtype plugin. More...
 

Functions

 qtype_ddwtos_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array())
 Checks file access for ddwtos questions. More...
 

Variables

 $plugin = 2020060900
 
$plugin component = 'qtype_ddwtos'
 
$plugin dependencies
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2020061500
 

Detailed Description

Function Documentation

◆ qtype_ddwtos_pluginfile()

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

Checks file access for ddwtos questions.

Parameters
object$courseThe course we are in
object$cmCourse module
object$contextThe context object
string$fileareathe name of the file area.
array$argsthe remaining bits of the file path.
bool$forcedownloadwhether the user must be forced to download the file.
array$optionsadditional options affecting the file serving

Variable Documentation

◆ dependencies

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