Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
qformat_xhtml

Namespaces

namespace  qformat_xhtml\privacy
  
 

Classes

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.
 

Variables

 $plugin = 2024041600
 
$plugin component = 'qformat_xhtml'
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2024042200
 

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.