Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
|
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. | |
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.