Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Functions | Variables
qformat_xhtml

Files

file  format.php
 XHTML question exporter.
 
file  lib.php
 Standard plugin entry points of the HTML question export format.
 
file  provider.php
 Privacy Subsystem implementation for qformat_xhtml.
 
file  version.php
 Version information for the calculated question type.
 

Namespaces

 qformat_xhtml\privacy
  
 

Classes

class  qformat_xhtml
 XHTML question exporter. More...
 
class  qformat_xhtml\privacy\provider
 Privacy Subsystem for qformat_xhtml implementing null_provider. More...
 

Functions

 qformat_xhtml_question_preview_pluginfile ($previewcontext, $questionid, $filecontext, $filecomponent, $filearea, $args, $forcedownload, $options=array())
 Serve question files when they are displayed in this export format. More...
 

Variables

$plugin component = 'qformat_xhtml'
 
$plugin maturity = MATURITY_STABLE
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

Detailed Description

Function Documentation

◆ qformat_xhtml_question_preview_pluginfile()

qformat_xhtml_question_preview_pluginfile (   $previewcontext,
  $questionid,
  $filecontext,
  $filecomponent,
  $filearea,
  $args,
  $forcedownload,
  $options = array() 
)

Serve question files when they are displayed in this export format.

Parameters
context$previewcontextthe quiz context
int$questionidthe question id.
context$filecontextthe file (question) context
string$filecomponentthe component the file belongs to.
string$fileareathe file area.
array$argsremaining file args.
bool$forcedownload,.
array$optionsadditional options affecting the file serving.