Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
factor_grace

Namespaces

namespace  factor_grace
  
 
namespace  factor_grace\privacy
  
 
namespace  factor_grace\task
  
 

Classes

class  factor_grace\factor
 
class  factor_grace\privacy\provider
 
class  factor_grace\task\revoke_expired_factors
 Scheduled task to revoke expired gracemode factors. More...
 

Variables

 $enabled
 
 $factors = $gracefactor->get_all_affecting_factors()
 
 $gracefactor = tool_mfa\plugininfo\factor::get_factor('grace')
 
 $gracefactors = []
 
 $plugin = 2023100400
 
 $tasks
 
$plugin component = 'factor_grace'
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2023100900
 

Detailed Description

Variable Documentation

◆ $enabled

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

◆ $tasks

$tasks
Initial value:
= [
[
'classname' => 'factor_grace\task\revoke_expired_factors',
'blocking' => 0,
'minute' => 'R',
'hour' => '0',
'day' => '*',
'month' => '*',
'dayofweek' => '*',
],
]