Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core_external\external_files Class Reference

External structure representing a set of files. More...

Inheritance diagram for core_external\external_files:

Public Member Functions

 __construct ($desc='List of files.', $required=VALUE_REQUIRED)
 Constructor.
 

Static Public Member Functions

static get_properties_for_exporter ()
 Return the properties ready to be used by an exporter.
 

Public Attributes

bool $allownull
 Allow null values.
 
external_description $content
 content
 
mixed $default
 Default value.
 
string $desc
 Description of element.
 
bool $required
 Element value required, null not allowed.
 

Detailed Description

External structure representing a set of files.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

core_external\external_files::__construct ( $desc = 'List of files.',
$required = VALUE_REQUIRED )

Constructor.

Parameters
string$descDescription for the multiple structure.
int$requiredThe type of value (VALUE_REQUIRED OR VALUE_OPTIONAL).

Member Function Documentation

◆ get_properties_for_exporter()

static core_external\external_files::get_properties_for_exporter ( )
static

Return the properties ready to be used by an exporter.

Return values
arrayproperties
Since
Moodle 3.3

The documentation for this class was generated from the following file: