Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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 = 2024041600
 
 $tasks
 
$plugin component = 'factor_grace'
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2024042200
 

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:3071
The lang_string class.
Definition moodlelib.php:10246

◆ $tasks

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