Class for displaying a badge competency.
More...
|
| __construct ($data, $related=array()) |
| Constructor - saves the persistent object, and the related objects.
|
|
|
static | map_external_data ($data, $apiversion) |
| Map from a request response data to the internal structure.
|
|
Class for displaying a badge competency.
- Copyright
- 2019 Damyon Wiese
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
core_badges\external\assertion_exporter::__construct |
( |
| $data, |
|
|
| $related = array() ) |
Constructor - saves the persistent object, and the related objects.
- Parameters
-
mixed | $data | - Either an stdClass or an array of values. |
array | $related | - An optional list of pre-loaded objects related to this object. |
◆ define_other_properties()
static core_badges\external\assertion_exporter::define_other_properties |
( |
| ) |
|
|
staticprotected |
Return the list of additional properties.
- Return values
-
◆ define_properties()
static core_badges\external\assertion_exporter::define_properties |
( |
| ) |
|
|
staticprotected |
Return the list of properties.
- Return values
-
◆ define_related()
static core_badges\external\assertion_exporter::define_related |
( |
| ) |
|
|
staticprotected |
Returns a list of objects that are related.
- Return values
-
◆ get_other_values()
core_badges\external\assertion_exporter::get_other_values |
( |
renderer_base | $output | ) |
|
|
protected |
We map from related data passed as data to this exporter to clean exportable values.
- Parameters
-
- Return values
-
◆ map_external_data()
static core_badges\external\assertion_exporter::map_external_data |
( |
| $data, |
|
|
| $apiversion ) |
|
static |
Map from a request response data to the internal structure.
- Parameters
-
stdClass | $data | The remote data. |
string | $apiversion | The backpack version used to communicate remotely. |
- Return values
-
The documentation for this class was generated from the following file:
- badges/classes/external/assertion_exporter.php