Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
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 = 2023100400
 
$plugin component = 'tool_generator'
 
$plugin version = 2023100900
 

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