Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
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:10327

◆ $tasks

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