Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
qtype_ddmarker

Namespaces

namespace  qtype_ddmarker\privacy
  
 

Classes

class  backup_qtype_ddmarker_plugin
 Provides the information to backup ddmarker questions. More...
 
class  behat_qtype_ddmarker
 Steps definitions related with the drag and drop markers question type. More...
 
class  qtype_ddmarker
 The drag-and-drop markers question type class. More...
 
class  qtype_ddmarker\privacy\provider
 Privacy Subsystem for qtype_ddmarker implementing user_preference_provider. More...
 
class  qtype_ddmarker_drag_item
 Represents one of the choices (draggable markers). More...
 
class  qtype_ddmarker_drop_zone
 Represents one of the places (drop zones). More...
 
class  qtype_ddmarker_edit_form
 Drag-and-drop images onto images editing form definition. More...
 
class  qtype_ddmarker_point
 Class to represent a point. More...
 
class  qtype_ddmarker_question
 Represents a drag-and-drop markers question. More...
 
class  qtype_ddmarker_renderer
 Generates the output for drag-and-drop markers questions. More...
 
class  qtype_ddmarker_shape
 Base class to represent a shape. More...
 
class  qtype_ddmarker_shape_circle
 Class to represent a circle. More...
 
class  qtype_ddmarker_shape_polygon
 Class to represent a polygon. More...
 
class  qtype_ddmarker_shape_rectangle
 Class to represent a rectangle. More...
 
class  qtype_ddmarker_test_helper
 Test helper class for the drag-and-drop markers question type. More...
 
class  question_hint_ddmarker
 Question hint for ddmarker. More...
 
class  restore_qtype_ddmarker_plugin
 Restore plugin class for the ddmarker question type plugin. More...
 

Functions

 qtype_ddmarker_get_fontawesome_icon_map ()
 Get icon mapping for font-awesome.
 
 qtype_ddmarker_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array())
 Checks file access for ddmarker questions.
 
 xmldb_qtype_ddmarker_upgrade ($oldversion)
 Upgrade code for the ddmarker question type.
 

Variables

 $plugin = 2023041800
 
$plugin component = 'qtype_ddmarker'
 
$plugin dependencies
 
$plugin maturity = MATURITY_STABLE
 
const QTYPE_DDMARKER_ALLOWED_TAGS_IN_MARKER '<br><i><em><b><strong><sup><sub><u><span>'
 
$plugin version = 2023042400
 

Detailed Description

Function Documentation

◆ qtype_ddmarker_pluginfile()

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

Checks file access for ddmarker 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

◆ xmldb_qtype_ddmarker_upgrade()

xmldb_qtype_ddmarker_upgrade ( $oldversion)

Upgrade code for the ddmarker question type.

Parameters
int$oldversionthe version we are upgrading from.
Return values
bool

Variable Documentation

◆ dependencies

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