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

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 = 2024041600
 
 $tasks
 
$plugin component = 'enrol_ldap'
 
$plugin version = 2024042200
 

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