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

Namespaces

namespace  enrol_guest\external
  
 
namespace  enrol_guest\privacy
  
 

Classes

class  enrol_guest\external\validate_password
 
class  enrol_guest\privacy\provider
 Privacy Subsystem for enrol_guest implementing null_provider. More...
 
class  enrol_guest_enrol_form
 
class  enrol_guest_external
 Guest enrolment method external API. More...
 
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
 
 $functions
 
 $plugin = 2024041600
 
$plugin component = 'enrol_guest'
 
$plugin version = 2024042200
 

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

◆ $functions

$functions
Initial value:
= array(
'enrol_guest_get_instance_info' => array(
'classname' => 'enrol_guest_external',
'methodname' => 'get_instance_info',
'description' => 'Return guest enrolment instance information.',
'type' => 'read',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'enrol_guest_validate_password' => [
'classname' => 'enrol_guest\external\validate_password',
'description' => 'Perform password validation.',
'type' => 'write',
],
)
const MOODLE_OFFICIAL_MOBILE_SERVICE
Moodle mobile app service name.
Definition moodlelib.php:555
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Since
Moodle 3.1