Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Functions | Variables
enrol_mnet

Files

file  access.php
 Capabilities for mnet enrolment plugin.
 
file  enrol.php
 Implements the XML-RPC methods this plugin publishes to MNet peers.
 
file  lib.php
 MNet enrolment plugin.
 
file  mnet.php
 This file contains the mnet services for the mnet enrolment plugin.
 
file  provider.php
 Privacy Subsystem implementation for enrol_mnet.
 
file  settings.php
 Cohort enrolment plugin settings and default values.
 
file  upgrade.php
 Keeps track of upgrades to the enrol_mnet plugin.
 
file  version.php
 MNet enrolment plugin version specification.
 

Namespaces

 enrol_mnet\privacy
  
 

Classes

class  enrol_mnet\privacy\provider
 Privacy Subsystem for enrol_mnet implementing null_provider. More...
 
class  enrol_mnet_mnetservice_enrol
 MNet server-side methods that are part of mnetservice_enrol. More...
 
class  enrol_mnet_plugin
 MNet enrolment plugin implementation for Moodle 2.x enrolment framework. More...
 

Functions

 xmldb_enrol_mnet_upgrade ($oldversion)
 

Variables

 $capabilities
 
 $publishes
 
 $subscribes
 
$plugin component = 'enrol_mnet'
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'enrol/mnet:config' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'archetypes' => array(
'manager' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
)
),
)

◆ $publishes

$publishes
Initial value:
= array(
'mnet_enrol' => array(
'apiversion' => 1,
'classname' => 'enrol_mnet_mnetservice_enrol',
'filename' => 'enrol.php',
'methods' => array(
'available_courses',
'user_enrolments',
'enrol_user',
'unenrol_user',
'course_enrolments'
),
),
)

◆ $subscribes

$subscribes
Initial value:
= array(
'mnet_enrol' => array(
'available_courses' => 'enrol/mnet/enrol.php/available_courses',
'user_enrolments' => 'enrol/mnet/enrol.php/user_enrolments',
'enrol_user' => 'enrol/mnet/enrol.php/enrol_user',
'unenrol_user' => 'enrol/mnet/enrol.php/unenrol_user',
'course_enrolments' => 'enrol/mnet/enrol.php/course_enrolments',
),
)
CONTEXT_COURSE
const CONTEXT_COURSE
Course context level - one instances for each course.
Definition: accesslib.php:128
CAP_ALLOW
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition: accesslib.php:115