Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
qtype_ddwtos

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 user_preference_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.
 

Variables

 $plugin = 2024041600
 
$plugin component = 'qtype_ddwtos'
 
$plugin dependencies
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2024042200
 

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:
= [
'qtype_gapselect' => 2024041600,
]