Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
enrol_mnet

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 = 2024041600
 
 $publishes
 
 $subscribes
 
$plugin component = 'enrol_mnet'
 
$plugin version = 2024042200
 

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