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

Namespaces

namespace  qtype_calculatedmulti
  
 
namespace  qtype_calculatedmulti\privacy
  
 

Classes

class  qtype_calculatedmulti\privacy\provider
 Privacy Subsystem for qtype_calculatedmulti implementing null_provider. More...
 
class  qtype_calculatedmulti\qtype_calculatedmulti_answer
 
class  qtype_calculatedmulti_qe2_attempt_updater
 

Functions

 qtype_calculatedmulti_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array())
 Checks file access for calculated multiple-choice questions.
 
 xmldb_qtype_calculatedmulti_upgrade ($oldversion)
 Upgrade code for the calculatedmulti question type.
 

Detailed Description

Function Documentation

◆ qtype_calculatedmulti_pluginfile()

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

Checks file access for calculated multiple-choice questions.

Parameters
stdClass$coursecourse object
stdClass$cmcourse module object
stdClass$contextcontext object
string$fileareafile area
array$argsextra arguments
bool$forcedownloadwhether or not force download
array$optionsadditional options affecting the file serving
Return values
bool

◆ xmldb_qtype_calculatedmulti_upgrade()

xmldb_qtype_calculatedmulti_upgrade ( $oldversion)

Upgrade code for the calculatedmulti question type.

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