Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core_external\external_value Class Reference

Scalar value description class. More...

Inheritance diagram for core_external\external_value:

Public Member Functions

 __construct ( $type, $desc='', $required=VALUE_REQUIRED, $default=null, $allownull=NULL_ALLOWED)
 Constructor for the external_value class.
 

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.
 

Detailed Description

Scalar value description class.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

core_external\external_value::__construct ( $type,
$desc = '',
$required = VALUE_REQUIRED,
$default = null,
$allownull = NULL_ALLOWED )

Constructor for the external_value class.

Parameters
mixed$type
string$desc
int$required
mixed$default
bool$allownull

The documentation for this class was generated from the following file: