Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Description of top level - PHP function parameters. More...
Public Member Functions | |
__construct (array $keys, $desc='', $required=VALUE_REQUIRED, $default=null) | |
Constructor - does extra checking to prevent top level optional parameters. 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. | |
Description of top level - PHP function parameters.
external_function_parameters::__construct | ( | array | $keys, |
$desc = '' , |
|||
$required = VALUE_REQUIRED , |
|||
$default = null |
|||
) |
Constructor - does extra checking to prevent top level optional parameters.
array | $keys | |
string | $desc | |
bool | $required | |
array | $default |
Reimplemented from external_single_structure.