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

Mapping between Moodle course attributes and IMS enterprise group description tags. More...

Public Member Functions

 __construct ()
 Loads default.
 
 determine_default_coursemapping ($courseattr)
 This function is only used when first setting up the plugin, to decide which name assignments to recommend by default. More...
 
 get_courseattrs ()
 courseattrs getter More...
 
 get_imsnames ($courseattr)
 Returns the assignable values for the course attribute. More...
 

Detailed Description

Mapping between Moodle course attributes and IMS enterprise group description tags.

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

Member Function Documentation

◆ determine_default_coursemapping()

imsenterprise_courses::determine_default_coursemapping (   $courseattr)

This function is only used when first setting up the plugin, to decide which name assignments to recommend by default.

Parameters
string$courseattr
Return values
string

◆ get_courseattrs()

imsenterprise_courses::get_courseattrs ( )

courseattrs getter

Return values
array

◆ get_imsnames()

imsenterprise_courses::get_imsnames (   $courseattr)

Returns the assignable values for the course attribute.

Parameters
string$courseattrThe course attribute (shortname, fullname...)
Return values
arrayArray of assignable values

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