Moodle PHP Documentation 4.1
Moodle 4.1dev (Build: 20220512) (5e5e12e0)
Namespaces | Classes | Functions | Variables
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. More...
 

Variables

 $plugin = 2022041200
 
$plugin component = 'tool_generator'
 
$plugin version = 2022041900
 

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