|
|
bool | $allownull |
| | Allow null values.
|
| |
|
mixed | $default |
| | Default value.
|
| |
|
string | $desc |
| | Description of element.
|
| |
|
bool | $required |
| | Element value required, null not allowed.
|
| |
◆ __construct()
| core_external\external_description::__construct |
( |
| $desc, |
|
|
| $required, |
|
|
| $default, |
|
|
| $allownull = NULL_NOT_ALLOWED ) |
Contructor.
- Parameters
-
| 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 |
The documentation for this class was generated from the following file:
- lib/external/classes/external_description.php