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

Namespaces

namespace  qtype_truefalse\privacy
  
 

Classes

class  qtype_truefalse\privacy\provider
 

Functions

 qtype_truefalse_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array())
 Checks file access for true-false questions.
 
 xmldb_qtype_truefalse_upgrade (int $oldversion)
 Method to perform upgrade steps between versions.
 

Detailed Description

Function Documentation

◆ qtype_truefalse_pluginfile()

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

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

◆ xmldb_qtype_truefalse_upgrade()

xmldb_qtype_truefalse_upgrade ( int $oldversion)

Method to perform upgrade steps between versions.

Parameters
int$oldversion
Return values
bool