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

Files

file  access.php
 Capabilities for LDAP enrolment plugin.
 
file  install.php
 LDAP enrolment plugin installation.
 
file  lib.php
 LDAP enrolment plugin implementation.
 
file  provider.php
 Privacy Subsystem implementation for enrol_ldap.
 
file  settings.php
 LDAP enrolment plugin settings and presets.
 
file  settingslib.php
 LDAP enrolment plugin admin setting classes.
 
file  sync_enrolments.php
 Sync enrolments task.
 
file  tasks.php
 Task definition for enrol_ldap.
 
file  version.php
 LDAP enrolment plugin version specification.
 

Namespaces

 enrol_ldap\privacy
  
 
 enrol_ldap\task
  
 

Classes

class  admin_setting_configtext_trim_lower
 
class  admin_setting_ldap_rolemapping
 
class  enrol_ldap\privacy\provider
 Privacy Subsystem for enrol_ldap implementing null_provider. More...
 
class  enrol_ldap\task\sync_enrolments
 Class sync_enrolments. More...
 
class  enrol_ldap_admin_setting_category
 Class implements new specialized setting for course categories that are loaded only when required. More...
 
class  enrol_ldap_plugin
 

Functions

 xmldb_enrol_ldap_install ()
 

Variables

 $capabilities
 
 $tasks
 
$plugin component = 'enrol_ldap'
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

Detailed Description

Variable Documentation

◆ $capabilities

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

◆ $tasks

$tasks
Initial value:
= array(
array(
'classname' => '\enrol_ldap\task\sync_enrolments',
'blocking' => 0,
'minute' => 'R',
'hour' => 'R',
'day' => '*',
'month' => '*',
'dayofweek' => '*',
'disabled' => 1
)
)
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