|
|
bool | $allownull |
| | Allow null values.
|
| |
|
mixed | $default |
| | Default value.
|
| |
|
string | $desc |
| | Description of element.
|
| |
|
array | $keys |
| | Description of array keys key=>external_description.
|
| |
|
bool | $required |
| | Element value required, null not allowed.
|
| |
◆ __construct()
| core_external\external_single_structure::__construct |
( |
array | $keys, |
|
|
| $desc = '', |
|
|
| $required = VALUE_REQUIRED, |
|
|
| $default = null, |
|
|
| $allownull = NULL_NOT_ALLOWED ) |
Constructor.
- Parameters
-
| array | $keys | |
| string | $desc | |
| int | $required | |
| array | $default | |
| bool | $allownull | |
The documentation for this class was generated from the following file:
- lib/external/classes/external_single_structure.php