Moodle  2.2.1
http://www.collinsharper.com
enrol_mnet_plugin Class Reference
Inheritance diagram for enrol_mnet_plugin:
Collaboration diagram for enrol_mnet_plugin:

Public Member Functions

 get_instance_name ($instance)
 get_newinstance_link ($courseid)

Detailed Description

MNet enrolment plugin implementation for Moodle 2.x enrolment framework

Definition at line 32 of file lib.php.


Member Function Documentation

get_instance_name ( instance)

Returns localised name of enrol instance

Parameters:
object | null$instanceenrol_mnet instance
Returns:
string

Reimplemented from enrol_plugin.

Definition at line 40 of file lib.php.

Here is the call graph for this function:

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.

Parameters:
int$courseidid of the course to add the instance to
Returns:
moodle_url|null page url or null if instance can not be created

Reimplemented from enrol_plugin.

Definition at line 74 of file lib.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations