Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core_external\external_files Class Reference
Inheritance diagram for core_external\external_files:
core_external\external_multiple_structure core_external\external_description

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.
 

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: