Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Associative array description class. More...
Public Member Functions | |
__construct (array $keys, $desc='', $required=VALUE_REQUIRED, $default=null) | |
Constructor. More... | |
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. | |
Associative array description class.
external_single_structure::__construct | ( | array | $keys, |
$desc = '' , |
|||
$required = VALUE_REQUIRED , |
|||
$default = null |
|||
) |
Constructor.
array | $keys | |
string | $desc | |
bool | $required | |
array | $default |
Reimplemented in external_function_parameters.