Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Scalar value description class. More...
Public Member Functions | |
__construct ($type, $desc='', $required=VALUE_REQUIRED, $default=null, $allownull=NULL_ALLOWED) | |
Constructor. More... | |
Public Attributes | |
bool | $allownull |
Allow null values. | |
mixed | $default |
Default value. | |
string | $desc |
Description of element. | |
bool | $required |
Element value required, null not allowed. | |
mixed | $type |
Value type PARAM_XX. | |
Scalar value description class.
external_value::__construct | ( | $type, | |
$desc = '' , |
|||
$required = VALUE_REQUIRED , |
|||
$default = null , |
|||
$allownull = NULL_ALLOWED |
|||
) |
Constructor.
mixed | $type | |
string | $desc | |
bool | $required | |
mixed | $default | |
bool | $allownull |