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

Namespaces

namespace  qtype_essay\privacy
  
 

Classes

class  qtype_essay\privacy\provider
 Privacy Subsystem for qtype_essay implementing user_preference_provider. More...
 
class  qtype_essay_test_helper
 Test helper class for the essay question type. More...
 

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