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

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

Variables

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

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