Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
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

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

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