Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
external_files Class Reference

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

Inheritance diagram for external_files:
external_multiple_structure external_description

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

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
Since
Moodle 3.2

Constructor & Destructor Documentation

◆ __construct()

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 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: