|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| get_instance_name ($instance) | |
| get_newinstance_link ($courseid) | |
MNet enrolment plugin implementation for Moodle 2.x enrolment framework
| get_instance_name | ( | $ | instance | ) |
Returns localised name of enrol instance
| object | null | $instance | enrol_mnet instance |
Reimplemented from enrol_plugin.
Definition at line 40 of file lib.php.

| get_newinstance_link | ( | $ | courseid | ) |
Returns link to page which may be used to add new instance of enrolment plugin into the course
The link is returned only if there are some MNet peers that we publish enrolment service to.
| int | $courseid | id of the course to add the instance to |
Reimplemented from enrol_plugin.
Definition at line 74 of file lib.php.
