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

Files

file  access.php
 Capabilities for manual enrolment plugin.
 
file  adminlib.php
 Special flatfile settings.
 
file  flatfile_sync_task.php
 Scheduled task for processing flatfile enrolments.
 
file  install.php
 Flatfile enrolment plugin installation.
 
file  lib.php
 Flatfile enrolment plugin.
 
file  messages.php
 Defines message providers (types of message sent) for the PayPal enrolment plugin.
 
file  provider.php
 Privacy Subsystem implementation for enrol_flatfile.
 
file  settings.php
 Flatfile enrolments plugin settings and presets.
 
file  tasks.php
 Definition of flatfile enrolment scheduled tasks.
 
file  upgrade.php
 Keeps track of upgrades to the enrol_flatfile plugin.
 
file  version.php
 Flat file enrolment plugin version specification.
 

Namespaces

 enrol_flatfile\privacy
  
 
 enrol_flatfile\task
  
 

Classes

class  enrol_flatfile\privacy\provider
 Privacy Subsystem for enrol_flatfile implementing null_provider. More...
 
class  enrol_flatfile\task\flatfile_sync_task
 Simple task to run sync enrolments. More...
 
class  enrol_flatfile_plugin
 Flatfile enrolment plugin implementation. More...
 
class  enrol_flatfile_role_setting
 Setting class that stores only non-empty values. More...
 

Functions

 xmldb_enrol_flatfile_install ()
 
 xmldb_enrol_flatfile_upgrade ($oldversion)
 

Variables

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

Detailed Description

Variable Documentation

◆ $capabilities

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

◆ $messageproviders

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

◆ $tasks

$tasks
Initial value:
= array(
array(
'classname' => '\enrol_flatfile\task\flatfile_sync_task',
'blocking' => 0,
'minute' => '15',
'hour' => '*',
'day' => '*',
'dayofweek' => '*',
'month' => '*'
)
)
CONTEXT_COURSE
const CONTEXT_COURSE
Course context level - one instances for each course.
Definition: accesslib.php:128