Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
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 = 2024100100
 
$plugin component = 'factor_sms'
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2024100702
 

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',
],
]