Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
enrol_guest

Topics

 external
 
 

Namespaces

namespace  enrol_guest\external
  
 
namespace  enrol_guest\privacy
 Privacy Subsystem implementation for enrol_guest.
 

Classes

class  enrol_guest\external\validate_password
 This is the external method validating a guest password. More...
 
class  enrol_guest\privacy\provider
 Privacy Subsystem for enrol_guest implementing null_provider. More...
 
class  enrol_guest_enrol_form
 
class  enrol_guest_plugin
 Class enrol_guest_plugin. More...
 

Functions

 enrol_guest_get_fontawesome_icon_map ()
 Get icon mapping for font-awesome.
 
 xmldb_enrol_guest_upgrade ($oldversion)
 

Variables

 $capabilities
 
 $plugin = 2023100400
 
$plugin component = 'enrol_guest'
 
$plugin version = 2023100900
 

Detailed Description

Variable Documentation

◆ $capabilities

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