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

namespace  enrol_ldap\privacy
  
 
namespace  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
 
 $plugin = 2020060900
 
 $tasks
 
$plugin component = 'enrol_ldap'
 
$plugin version = 2020061500
 

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'enrol/ldap:manage' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'archetypes' => array(
'manager' => 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

◆ $tasks

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