Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
qtype_numerical

Namespaces

namespace  qtype_numerical\privacy
  
 

Classes

class  qtype_numerical\privacy\provider
 Privacy Subsystem for qtype_numerical implementing user_preference_provider. More...
 
class  qtype_numerical_renderer
 Generates the output for short answer questions. More...
 

Functions

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

Detailed Description

Function Documentation

◆ qtype_numerical_pluginfile()

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

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