Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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:10246

◆ $gateways

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