Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
qtype_calculated

Namespaces

namespace  qtype_calculated
  
 
namespace  qtype_calculated\privacy
  
 

Classes

class  qtype_calculated\privacy\provider
 Privacy Subsystem for qtype_calculated implementing null_provider. More...
 
class  qtype_calculated\qtype_calculated_answer
 
class  qtype_calculated_qe2_attempt_updater
 

Functions

 qtype_calculated_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array())
 Checks file access for calculated questions.
 

Detailed Description

Function Documentation

◆ qtype_calculated_pluginfile()

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

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