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

Namespaces

namespace  tool_generator\form
  
 
namespace  tool_generator\local\testscenario
  
 
namespace  tool_generator\output
  
 
namespace  tool_generator\privacy
  
 

Classes

class  tool_generator\form\featureimport
 
class  tool_generator\local\testscenario\parsedfeature
 
class  tool_generator\local\testscenario\runner
 
class  tool_generator\local\testscenario\steprunner
 
class  tool_generator\output\parsingresult
 
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

global tool_generator\form::$CFG
 
 $plugin = 2024041600
 
$plugin component = 'tool_generator'
 
$plugin version = 2024042200
 

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