Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core_external\external_single_structure Class Reference
Inheritance diagram for core_external\external_single_structure:
core_external\external_description core_external\external_function_parameters

Public Member Functions

 __construct (array $keys, $desc='', $required=VALUE_REQUIRED, $default=null)
 Constructor.
 

Public Attributes

mixed $default
 Default value.
 
string $desc
 Description of element.
 
array $keys
 Description of array keys key=>external_description.
 
bool $required
 Element value required, null not allowed.
 

Constructor & Destructor Documentation

◆ __construct()

core_external\external_single_structure::__construct ( array $keys,
$desc = '',
$required = VALUE_REQUIRED,
$default = null )

Constructor.

Parameters
array$keys
string$desc
int$required
array$default

Reimplemented in core_external\external_function_parameters.


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