External structure representing a set of files.
More...
|
external_description | $content |
| content
|
|
mixed | $default |
| Default value.
|
|
string | $desc |
| Description of element.
|
|
bool | $required |
| Element value required, null not allowed.
|
|
External structure representing a set of files.
- Copyright
- 2016 Juan Leyva
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- Since
- Moodle 3.2
◆ __construct()
external_files::__construct |
( |
|
$desc = 'List of files.' , |
|
|
|
$required = VALUE_REQUIRED |
|
) |
| |
Constructor.
- Parameters
-
string | $desc | Description for the multiple structure. |
int | $required | The type of value (VALUE_REQUIRED OR VALUE_OPTIONAL). |
◆ get_properties_for_exporter()
static external_files::get_properties_for_exporter |
( |
| ) |
|
|
static |
Return the properties ready to be used by an exporter.
- Return values
-
- Since
- Moodle 3.3
The documentation for this class was generated from the following file: