Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
auth_email

Namespaces

namespace  auth_email\privacy
 

Classes

class  auth_email\privacy\provider
 Privacy Subsystem for auth_email implementing null_provider. More...
 
class  auth_email_external
 Auth e-mail external functions. More...
 
class  auth_plugin_email
 Email authentication plugin. More...
 
class  behat_auth_email
 Step definition for auth_email. More...
 

Functions

 xmldb_auth_email_upgrade ($oldversion)
 Function to upgrade auth_email.
 

Variables

 $functions
 
 $plugin = 2023041800
 
$plugin component = 'auth_email'
 
$plugin version = 2023042400
 

Detailed Description

Function Documentation

◆ xmldb_auth_email_upgrade()

xmldb_auth_email_upgrade ( $oldversion)

Function to upgrade auth_email.

Parameters
int$oldversionthe version we are upgrading from
Return values
boolresult

Variable Documentation

◆ $functions

$functions
Initial value:
= array(
'auth_email_get_signup_settings' => array(
'classname' => 'auth_email_external',
'methodname' => 'get_signup_settings',
'description' => 'Get the signup required settings and profile fields.',
'type' => 'read',
'ajax' => true,
'loginrequired' => false,
),
'auth_email_signup_user' => array(
'classname' => 'auth_email_external',
'methodname' => 'signup_user',
'description' => 'Adds a new user (pendingto be confirmed) in the site.',
'type' => 'write',
'ajax' => true,
'loginrequired' => false,
),
)