Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Functions | Variables
customfield_textarea

Files

file  data_controller.php
 Customfields textarea plugin.
 
file  field_controller.php
 Customfield textarea plugin.
 
file  lib.php
 Callbacks.
 
file  provider.php
 Privacy Subsystem implementation for customfield_textarea.
 
file  version.php
 Customfield text area plugin.
 

Namespaces

 customfield_textarea
  
 
 customfield_textarea\privacy
  
 

Classes

class  customfield_textarea\data_controller
 Class data. More...
 
class  customfield_textarea\field_controller
 Class field. More...
 
class  customfield_textarea\privacy\provider
 Privacy Subsystem for customfield_textarea implementing null_provider. More...
 

Functions

 customfield_textarea_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array())
 Serve the files from the customfield_textarea file areas. More...
 

Variables

$plugin component = 'customfield_textarea'
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

Detailed Description

Function Documentation

◆ customfield_textarea_pluginfile()

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

Serve the files from the customfield_textarea file areas.

Parameters
stdClass$coursethe course object
stdClass$cmthe course module object
context$contextthe context
string$fileareathe name of the file area
array$argsextra arguments (itemid, path)
bool$forcedownloadwhether or not force download
array$optionsadditional options affecting the file serving
Return values
boolfalse if the file not found, just send the file otherwise and do not return