Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)

Functions

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

Detailed Description

Function Documentation

◆ qtype_essay_pluginfile()

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

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