Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Public Attributes | List of all members
external_description Class Reference

Common ancestor of all parameter description classes. More...

Inheritance diagram for external_description:
external_multiple_structure external_single_structure external_value external_files external_warnings external_function_parameters external_format_value

Public Member Functions

 __construct ($desc, $required, $default)
 Contructor. More...
 

Public Attributes

mixed $default
 Default value.
 
string $desc
 Description of element.
 
bool $required
 Element value required, null not allowed.
 

Detailed Description

Common ancestor of all parameter description classes.

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

Constructor & Destructor Documentation

◆ __construct()

external_description::__construct (   $desc,
  $required,
  $default 
)

Contructor.

Parameters
string$desc
bool$required
mixed$default
Since
Moodle 2.0

Reimplemented in external_format_value, and external_warnings.


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