Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
factor_sms

Namespaces

namespace  factor_sms
  
 
namespace  factor_sms\event
  
 
namespace  factor_sms\local\smsgateway
  
 
namespace  factor_sms\privacy
  
 

Classes

class  behat_factor_sms
 Behat custom steps and configuration for factor_sms. More...
 
class  factor_sms\event\sms_sent
 
class  factor_sms\factor
 
class  factor_sms\helper
 
class  factor_sms\local\smsgateway\aws_sns
 
interface  factor_sms\local\smsgateway\gateway_interface
 
class  factor_sms\privacy\provider
 

Variables

global $CFG
 
if(empty(get_config('factor_sms', 'gateway'))) $class = '\factor_sms\local\smsgateway\\' . get_config('factor_sms', 'gateway')
 
 $codeslink = 'https://en.wikipedia.org/wiki/List_of_country_calling_codes'
 
 $enabled
 
 $gateways
 
 $link = html_writer::link($codeslink, $codeslink)
 
global $OUTPUT
 
 $plugin = 2024041600
 
$plugin component = 'factor_sms'
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2024042200
 

Detailed Description

Variable Documentation

◆ $enabled

$enabled
Initial value:
= new admin_setting_configcheckbox('factor_sms/enabled',
new lang_string('settings:enablefactor', 'tool_mfa'),
new lang_string('settings:enablefactor_help', 'tool_mfa'), 0)
Checkbox.
Definition adminlib.php:3071
The lang_string class.
Definition moodlelib.php:10327

◆ $gateways

$gateways
Initial value:
= [
'aws_sns' => get_string('settings:aws', 'factor_sms'),
]