|
Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Common ancestor of all parameter description classes. More...
Public Member Functions | |
| __construct ($desc, $required, $default, $allownull=NULL_NOT_ALLOWED) | |
| Contructor. | |
Public Attributes | |
| bool | $allownull |
| Allow null values. | |
| mixed | $default |
| Default value. | |
| string | $desc |
| Description of element. | |
| bool | $required |
| Element value required, null not allowed. | |
Common ancestor of all parameter description classes.
| core_external\external_description::__construct | ( | $desc, | |
| $required, | |||
| $default, | |||
| $allownull = NULL_NOT_ALLOWED ) |
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 |
| bool | $allownull | Allow null value |