Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Public Member Functions | |
__construct ($desc, $required, $default) | |
Contructor. | |
Public Attributes | |
mixed | $default |
Default value. | |
string | $desc |
Description of element. | |
bool | $required |
Element value required, null not allowed. | |
core_external\external_description::__construct | ( | $desc, | |
$required, | |||
$default ) |
Contructor.
string | $desc | Description of element |
int | $required | Whether the element value is required. Valid values are VALUE_DEFAULT, VALUE_REQUIRED, VALUE_OPTIONAL. |
mixed | $default | The default value |
Reimplemented in core_external\external_format_value, and core_external\external_warnings.