Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core_badges\external\collection_exporter Class Reference

Class for displaying a badge competency. More...

Inheritance diagram for core_badges\external\collection_exporter:

Static Public Member Functions

static map_external_data ($data, $apiversion)
 Either map version 1 data to version 2 or return it untouched.
 

Static Protected Member Functions

static define_properties ()
 Return the list of properties.
 
static define_related ()
 Returns a list of objects that are related.
 

Detailed Description

Class for displaying a badge competency.

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

Member Function Documentation

◆ define_properties()

static core_badges\external\collection_exporter::define_properties ( )
staticprotected

Return the list of properties.

Return values
array

◆ define_related()

static core_badges\external\collection_exporter::define_related ( )
staticprotected

Returns a list of objects that are related.

Return values
array

◆ map_external_data()

static core_badges\external\collection_exporter::map_external_data ( $data,
$apiversion )
static

Either map version 1 data to version 2 or return it untouched.

Parameters
stdClass$dataThe remote data.
string$apiversionThe backpack version used to communicate remotely.
Return values
stdClass

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