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

Files

file  backup_qtype_ddimageortext_plugin.class.php
 Backup code for qtype_ddimageortext.
 
file  behat_qtype_ddimageortext.php
 Behat steps definitions for drag and drop onto image.
 
file  edit_ddimageortext_form.php
 Defines the editing form for the drag-and-drop images onto images question type.
 
file  edit_ddtoimage_form_base.php
 Base class for editing form for the drag-and-drop images onto images question type.
 
file  helper.php
 Test helpers for the drag-and-drop onto image question type.
 
file  lib.php
 Serve question type files.
 
file  provider.php
 Privacy Subsystem implementation for qtype_ddimageortext.
 
file  question.php
 Drag-and-drop onto image question definition class.
 
file  questionbase.php
 Drag-and-drop onto image question definition class.
 
file  questiontype.php
 Question type class for the drag-and-drop onto image question type.
 
file  questiontypebase.php
 Question type class for the drag-and-drop onto image question type.
 
file  renderer.php
 Drag-and-drop onto image question renderer class.
 
file  rendererbase.php
 Drag-and-drop onto image question renderer class.
 
file  restore_qtype_ddimageortext_plugin.class.php
 Restore code for qtype_ddimageortext.
 
file  version.php
 Version information for the drag-and-drop onto image question type.
 

Namespaces

namespace  qtype_ddimageortext\privacy
  
 

Classes

class  backup_qtype_ddimageortext_plugin
 Provides the information to backup ddimageortext questions. More...
 
class  behat_qtype_ddimageortext
 Steps definitions related with the drag and drop onto image question type. More...
 
class  qtype_ddimageortext
 The drag-and-drop onto image question type class. More...
 
class  qtype_ddimageortext\privacy\provider
 Privacy Subsystem for qtype_ddimageortext implementing null_provider. More...
 
class  qtype_ddimageortext_drag_item
 Represents one of the choices (draggable images). More...
 
class  qtype_ddimageortext_drop_zone
 Represents one of the places (drop zones). More...
 
class  qtype_ddimageortext_edit_form
 Drag-and-drop images onto images editing form definition. More...
 
class  qtype_ddimageortext_question
 Represents a drag-and-drop onto image question. More...
 
class  qtype_ddimageortext_renderer
 Generates the output for drag-and-drop onto image questions. More...
 
class  qtype_ddimageortext_test_helper
 Test helper class for the drag-and-drop onto image question type. More...
 
class  qtype_ddtoimage_base
 The drag-and-drop onto image question type class. More...
 
class  qtype_ddtoimage_edit_form_base
 Base class for drag-and-drop onto images editing form definition. More...
 
class  qtype_ddtoimage_question_base
 Represents a drag-and-drop onto image question. More...
 
class  qtype_ddtoimage_renderer_base
 Generates the output for drag-and-drop onto image questions. More...
 
class  restore_qtype_ddimageortext_plugin
 Restore plugin class for the ddimageortext question type. More...
 

Functions

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

Variables

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

Detailed Description

Function Documentation

◆ qtype_ddimageortext_pluginfile()

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

Checks file access for ddimageortext 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,
)