Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
enrol_flatfile

Topics

 privacy
 
 

Directories

directory classes
  
 

Namespaces

namespace  enrol_flatfile\task
 Scheduled task for processing flatfile enrolments.
 

Classes

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
 
 $plugin = 2023100400
 
 $tasks
 
$plugin component = 'enrol_flatfile'
 
$plugin version = 2023100900
 

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(
)
),
)
const CONTEXT_COURSE
Course context level - one instances for each course.
Definition accesslib.php:128

◆ $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' => '*'
)
)