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

Namespaces

namespace  qtype_multichoice\privacy
  
 

Classes

class  behat_qtype_multichoice
 Behat custom step definitions and partial named selectors for qtype_multichoice. More...
 
class  qtype_multichoice\privacy\provider
 Privacy Subsystem for qtype_multichoice implementing user_preference_provider. More...
 
class  qtype_multichoice_admin_setting_answernumbering
 Admin settings class for the multichoice question type method. More...
 
class  qtype_multichoice_test_helper
 Test helper class for the multiple choice question type. More...
 

Functions

 qtype_multichoice_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array())
 Checks file access for multiple choice questions.
 

Detailed Description

Function Documentation

◆ qtype_multichoice_pluginfile()

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

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