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

Namespaces

namespace  tool_generator\privacy
  
 

Classes

class  tool_generator\privacy\provider
 Privacy Subsystem for tool_generator implementing null_provider. More...
 
class  tool_generator_backend
 Backend generic code for all tool_generator commands. More...
 
class  tool_generator_course_backend
 Backend code for the 'make large course' tool. More...
 
class  tool_generator_make_course_form
 Form with options for creating large course. More...
 
class  tool_generator_make_testplan_form
 Form with options for creating large course. More...
 
class  tool_generator_site_backend
 Backend code for the site generator. More...
 
class  tool_generator_testplan_backend
 Generates the files required by JMeter. More...
 

Functions

 tool_generator_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array())
 Files support.
 

Variables

 $plugin = 2023041800
 
$plugin component = 'tool_generator'
 
$plugin version = 2023042400
 

Detailed Description

Function Documentation

◆ tool_generator_pluginfile()

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

Files support.

Exits if the required permissions are not satisfied.

Parameters
stdClass$coursecourse object
stdClass$cm
stdClass$contextcontext object
string$fileareafile area
array$argsextra arguments
bool$forcedownloadwhether or not force download
array$optionsadditional options affecting the file serving
Return values
voidThe file is sent along with it's headers