Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Files | Namespaces | Classes | Functions | Variables
tool_generator

Files

file  backend.php
 Backend generic code.
 
file  course_backend.php
 tool_generator course backend code.
 
file  lib.php
 Generator tool functions.
 
file  make_course_form.php
 Course form.
 
file  make_testplan_form.php
 Test plan form.
 
file  provider.php
 Privacy Subsystem implementation for tool_generator.
 
file  settings.php
 Admin settings.
 
file  site_backend.php
 tool_generator site backend.
 
file  testplan_backend.php
 Test plan generator.
 
file  version.php
 Version details.
 

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 = 2020060900
 
$plugin component = 'tool_generator'
 
$plugin version = 2020061500
 

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