Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250706) (a6b17d8f6bd)
factor_sms

Namespaces

namespace  factor_sms
  
 
namespace  factor_sms\privacy
  
 
namespace  factor_sms\task
  
 

Classes

class  behat_factor_sms
 Behat custom steps and configuration for factor_sms. More...
 
class  factor_sms\factor
 
class  factor_sms\helper
 
class  factor_sms\hook_listener
 
class  factor_sms\privacy\provider
 
class  factor_sms\task\sms_gateway_migration_notification
 

Functions

 xmldb_factor_sms_upgrade (int $oldversion)
 Factor sms upgrade helper.
 

Variables

 $callbacks
 
 $plugin = 2025040800
 
$plugin component = 'factor_sms'
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2025041400
 

Detailed Description

Function Documentation

◆ xmldb_factor_sms_upgrade()

xmldb_factor_sms_upgrade ( int $oldversion)

Factor sms upgrade helper.

Parameters
int$oldversionPrevious version of the plugin.
Return values
bool

Variable Documentation

◆ $callbacks

$callbacks
Initial value:
= [
[
'hook' => core_sms\hook\before_gateway_deleted::class,
'callback' => factor_sms\hook_listener::class . '::check_gateway_usage_in_mfa',
],
[
'hook' => core_sms\hook\before_gateway_disabled::class,
'callback' => factor_sms\hook_listener::class . '::check_gateway_usage_in_mfa',
],
]