[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/enrol/mnet/ -> lib.php (summary)

MNet enrolment plugin

Copyright: 2010 David Mudrak <[email protected]>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 113 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

enrol_mnet_plugin:: (4 methods):
  get_instance_name()
  get_newinstance_link()
  can_delete_instance()
  can_hide_show_instance()


Class: enrol_mnet_plugin  - X-Ref

MNet enrolment plugin implementation for Moodle 2.x enrolment framework

get_instance_name($instance)   X-Ref
Returns localised name of enrol instance

param: object|null $instance enrol_mnet instance
return: string

get_newinstance_link($courseid)   X-Ref
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.

param: int $courseid id of the course to add the instance to
return: moodle_url|null page url or null if instance can not be created

can_delete_instance($instance)   X-Ref
Is it possible to delete enrol instance via standard UI?

param: stdClass $instance
return: bool

can_hide_show_instance($instance)   X-Ref
Is it possible to hide/show enrol instance via standard UI?

param: stdClass $instance
return: bool



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1