Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
Files | Namespaces | Classes | Functions | Variables
qbank_exporttoxml

Files

file  export_xml_action_column.php
 Question bank column export the question in Moodle XML format.
 
file  helper.php
 Class helper for export plugin.
 
file  lib.php
 Helper functions and callbacks.
 
file  plugin_feature.php
 Class plugin_feature is the entrypoint for the columns.
 
file  provider.php
 Privacy Subsystem for qbank_exporttoxml implementing null_provider.
 
file  version.php
 Version information for qbank_exporttoxml.
 

Namespaces

namespace  qbank_exporttoxml
  
 
namespace  qbank_exporttoxml\privacy
  
 

Classes

class  qbank_exporttoxml\export_xml_action_column
 
class  qbank_exporttoxml\helper
 
class  qbank_exporttoxml\plugin_feature
 
class  qbank_exporttoxml\privacy\provider
 

Functions

 qbank_exporttoxml_preview_display (question_definition $question, int $courseid)
 Callback to add content to the question preview screen.
 

Variables

 $plugin = 2022111800
 
$plugin component = 'qbank_exporttoxml'
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2022112800
 

Detailed Description

Function Documentation

◆ qbank_exporttoxml_preview_display()

qbank_exporttoxml_preview_display ( question_definition  $question,
int  $courseid 
)

Callback to add content to the question preview screen.

Parameters
question_definition$questionthe question being previewed.
int$courseidthe course id.
Return values
stringHTML to add to the question preview screen.