Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
core_external\external_multiple_structure Class Reference
Inheritance diagram for core_external\external_multiple_structure:
core_external\external_description core_external\external_files core_external\external_warnings

Public Member Functions

 __construct (external_description $content, $desc='', $required=VALUE_REQUIRED, $default=null, $allownull=NULL_NOT_ALLOWED)
 Constructor.
 

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_multiple_structure::__construct ( external_description $content,
$desc = '',
$required = VALUE_REQUIRED,
$default = null,
$allownull = NULL_NOT_ALLOWED )

Constructor.

Parameters
external_description$content
string$desc
int$required
array$default
bool$allownull

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