Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
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

namespace  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
 
 $plugin = 2020060900
 
 $publishes
 
 $subscribes
 
$plugin component = 'enrol_mnet'
 
$plugin version = 2020061500
 

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,
)
),
)
const CONTEXT_COURSE
Course context level - one instances for each course.
Definition: accesslib.php:128
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition: accesslib.php:115

◆ $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',
),
)