Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
customfield_textarea

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.
 

Variables

 $plugin = 2024041600
 
$plugin component = 'customfield_textarea'
 
$plugin version = 2024042200
 

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