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

Files

file  access.php
 Capabilities for imsenterprise enrolment plugin.
 
file  cron_task.php
 A scheduled task.
 
file  install.php
 imsenterprise enrolment plugin installation.
 
file  lib.php
 IMS Enterprise file enrolment plugin.
 
file  locallib.php
 IMS Enterprise enrol plugin implementation.
 
file  messages.php
 Defines message providers (types of message sent) for the PayPal enrolment plugin.
 
file  provider.php
 Privacy Subsystem implementation for enrol_imsenterprise.
 
file  settings.php
 IMS Enterprise enrolments plugin settings and presets.
 
file  tasks.php
 Definition of IMS Enterprise enrolment scheduled tasks.
 
file  upgrade.php
 This file keeps track of upgrades to the imsenterprise enrolment plugin.
 
file  version.php
 IMS Enterprise file enrolment plugin version specification.
 

Namespaces

 enrol_imsenterprise\privacy
  
 
 enrol_imsenterprise\task
  
 

Classes

class  enrol_imsenterprise\privacy\provider
 Privacy Subsystem for enrol_imsenterprise implementing null_provider. More...
 
class  enrol_imsenterprise\task\cron_task
 Simple task to run the IMS Enterprise enrolment cron. More...
 
class  enrol_imsenterprise_plugin
 IMS Enterprise file enrolment plugin. More...
 
class  imsenterprise_courses
 Mapping between Moodle course attributes and IMS enterprise group description tags. More...
 
class  imsenterprise_roles
 Class for dealing with role mappings in IMS Enterprise. More...
 

Functions

 xmldb_enrol_imsenterprise_install ()
 Post installation procedure.
 
 xmldb_enrol_imsenterprise_upgrade ($oldversion)
 Performs upgrade of the database structure and data. More...
 

Variables

 $capabilities
 
 $messageproviders
 
 $tasks
 
$plugin component = 'enrol_imsenterprise'
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

Detailed Description

Function Documentation

◆ xmldb_enrol_imsenterprise_upgrade()

xmldb_enrol_imsenterprise_upgrade (   $oldversion)

Performs upgrade of the database structure and data.

Parameters
int$oldversionthe version we are upgrading from
Return values
booltrue

Variable Documentation

◆ $capabilities

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

◆ $messageproviders

$messageproviders
Initial value:
= array(
'imsenterprise_enrolment' => array(),
)

◆ $tasks

$tasks
Initial value:
= array(
array(
'classname' => 'enrol_imsenterprise\task\cron_task',
'blocking' => 0,
'minute' => '10',
'hour' => '*',
'day' => '*',
'month' => '*',
'dayofweek' => '*'
)
)
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