| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Collaboration diagram for ilSessionReminder:Public Member Functions | |
| __construct (ilObjUser $user, ClockInterface $clock, ilSetting $settings) | |
| getGlobalSessionReminderLeadTime () | |
| getEffectiveLeadTime () | |
| getMaxPossibleLeadTime () | |
| isActive () | |
| setUser (ilObjUser $user) | |
| getUser () | |
| setCurrentTime (int $current_time) | |
| getCurrentTime () | |
| setExpirationTime (int $expiration_time) | |
| getExpirationTime () | |
| setLeadTime (int $lead_time) | |
| getLeadTime () | |
| setSecondsUntilExpiration (int $seconds_until_expiration) | |
| getSecondsUntilExpiration () | |
| setSecondsUntilReminder (int $seconds_until_reminder) | |
| getSecondsUntilReminder () | |
Static Public Member Functions | |
| static | byLoggedInUser () | 
Data Fields | |
| const | LEAD_TIME_DISABLED = 0 | 
| const | MIN_LEAD_TIME = 1 | 
| const | SUGGESTED_LEAD_TIME = 5 | 
Private Member Functions | |
| buildValidLeadTime (int $lead_time) | |
| init () | |
| calculateSecondsUntilExpiration () | |
| calculateSecondsUntilReminder () | |
| isEnoughTimeLeftForReminder () | |
Private Attributes | |
| ClockInterface | $clock | 
| ilObjUser | $user | 
| ilSetting | $settings | 
| int | $lead_time = self::SUGGESTED_LEAD_TIME | 
| int | $expiration_time = 0 | 
| int | $current_time = 0 | 
| int | $seconds_until_expiration = 0 | 
| int | $seconds_until_reminder = 0 | 
Definition at line 24 of file class.ilSessionReminder.php.
| ilSessionReminder::__construct | ( | ilObjUser | $user, | 
| ClockInterface | $clock, | ||
| ilSetting | $settings | ||
| ) | 
Definition at line 38 of file class.ilSessionReminder.php.
References $clock, $settings, $user, init(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 77 of file class.ilSessionReminder.php.
References getMaxPossibleLeadTime().
Referenced by getEffectiveLeadTime(), and getGlobalSessionReminderLeadTime().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 50 of file class.ilSessionReminder.php.
References $DIC, $user, and ilObject\setId().
Referenced by ilUserFieldSettingsTableGUI\fillRow(), ilObjUserGUI\getValues(), ilObjUserGUI\initForm(), ilPersonalSettingsGUI\initGeneralSettingsForm(), and ilGlobalPageTemplate\prepareBasicJS().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 128 of file class.ilSessionReminder.php.
References getCurrentTime(), getExpirationTime(), and setSecondsUntilExpiration().
Referenced by init().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 133 of file class.ilSessionReminder.php.
References getLeadTime(), getSecondsUntilExpiration(), and setSecondsUntilReminder().
Referenced by init().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSessionReminder::getCurrentTime | ( | ) | 
Definition at line 171 of file class.ilSessionReminder.php.
References $current_time.
Referenced by calculateSecondsUntilExpiration().
 Here is the caller graph for this function:| ilSessionReminder::getEffectiveLeadTime | ( | ) | 
Definition at line 98 of file class.ilSessionReminder.php.
References ilObjUser\_lookupPref(), buildValidLeadTime(), getGlobalSessionReminderLeadTime(), ILIAS\Survey\Mode\getId(), and getUser().
Referenced by init(), and isActive().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSessionReminder::getExpirationTime | ( | ) | 
Definition at line 183 of file class.ilSessionReminder.php.
References $expiration_time.
Referenced by calculateSecondsUntilExpiration().
 Here is the caller graph for this function:| ilSessionReminder::getGlobalSessionReminderLeadTime | ( | ) | 
Definition at line 70 of file class.ilSessionReminder.php.
References buildValidLeadTime(), and ILIAS\Repository\settings().
Referenced by getEffectiveLeadTime().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSessionReminder::getLeadTime | ( | ) | 
Definition at line 195 of file class.ilSessionReminder.php.
References $lead_time.
Referenced by calculateSecondsUntilReminder(), and isEnoughTimeLeftForReminder().
 Here is the caller graph for this function:| ilSessionReminder::getMaxPossibleLeadTime | ( | ) | 
Definition at line 108 of file class.ilSessionReminder.php.
References ilSession\getSessionExpireValue().
Referenced by buildValidLeadTime().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSessionReminder::getSecondsUntilExpiration | ( | ) | 
Definition at line 207 of file class.ilSessionReminder.php.
References $seconds_until_expiration.
Referenced by calculateSecondsUntilReminder(), and isEnoughTimeLeftForReminder().
 Here is the caller graph for this function:| ilSessionReminder::getSecondsUntilReminder | ( | ) | 
Definition at line 219 of file class.ilSessionReminder.php.
References $seconds_until_reminder.
| ilSessionReminder::getUser | ( | ) | 
Definition at line 159 of file class.ilSessionReminder.php.
References $user.
Referenced by getEffectiveLeadTime(), and isActive().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 115 of file class.ilSessionReminder.php.
References calculateSecondsUntilExpiration(), calculateSecondsUntilReminder(), getEffectiveLeadTime(), ilSession\getIdleValue(), setCurrentTime(), setExpirationTime(), and setLeadTime().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSessionReminder::isActive | ( | ) | 
Definition at line 143 of file class.ilSessionReminder.php.
References getEffectiveLeadTime(), getUser(), and isEnoughTimeLeftForReminder().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 138 of file class.ilSessionReminder.php.
References getLeadTime(), and getSecondsUntilExpiration().
Referenced by isActive().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSessionReminder::setCurrentTime | ( | int | $current_time | ) | 
Definition at line 164 of file class.ilSessionReminder.php.
References $current_time.
Referenced by init().
 Here is the caller graph for this function:| ilSessionReminder::setExpirationTime | ( | int | $expiration_time | ) | 
Definition at line 176 of file class.ilSessionReminder.php.
References $expiration_time.
Referenced by init().
 Here is the caller graph for this function:| ilSessionReminder::setLeadTime | ( | int | $lead_time | ) | 
Definition at line 188 of file class.ilSessionReminder.php.
References $lead_time.
Referenced by init().
 Here is the caller graph for this function:| ilSessionReminder::setSecondsUntilExpiration | ( | int | $seconds_until_expiration | ) | 
Definition at line 200 of file class.ilSessionReminder.php.
References $seconds_until_expiration.
Referenced by calculateSecondsUntilExpiration().
 Here is the caller graph for this function:| ilSessionReminder::setSecondsUntilReminder | ( | int | $seconds_until_reminder | ) | 
Definition at line 212 of file class.ilSessionReminder.php.
References $seconds_until_reminder.
Referenced by calculateSecondsUntilReminder().
 Here is the caller graph for this function:| ilSessionReminder::setUser | ( | ilObjUser | $user | ) | 
Definition at line 152 of file class.ilSessionReminder.php.
References $user, and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 29 of file class.ilSessionReminder.php.
Referenced by __construct().
      
  | 
  private | 
Definition at line 34 of file class.ilSessionReminder.php.
Referenced by getCurrentTime(), and setCurrentTime().
      
  | 
  private | 
Definition at line 33 of file class.ilSessionReminder.php.
Referenced by getExpirationTime(), and setExpirationTime().
      
  | 
  private | 
Definition at line 32 of file class.ilSessionReminder.php.
Referenced by getLeadTime(), and setLeadTime().
      
  | 
  private | 
Definition at line 35 of file class.ilSessionReminder.php.
Referenced by getSecondsUntilExpiration(), and setSecondsUntilExpiration().
      
  | 
  private | 
Definition at line 36 of file class.ilSessionReminder.php.
Referenced by getSecondsUntilReminder(), and setSecondsUntilReminder().
      
  | 
  private | 
Definition at line 31 of file class.ilSessionReminder.php.
Referenced by __construct().
      
  | 
  private | 
Definition at line 30 of file class.ilSessionReminder.php.
Referenced by __construct(), byLoggedInUser(), getUser(), and setUser().
| const ilSessionReminder::LEAD_TIME_DISABLED = 0 | 
Definition at line 26 of file class.ilSessionReminder.php.
Referenced by ilUserFieldSettingsTableGUI\fillRow(), ILIAS\User\UserGUIRequest\getDefaultSessionReminder(), ilObjUserGUI\initForm(), and ilPersonalSettingsGUI\initGeneralSettingsForm().
| const ilSessionReminder::MIN_LEAD_TIME = 1 | 
Definition at line 27 of file class.ilSessionReminder.php.
| const ilSessionReminder::SUGGESTED_LEAD_TIME = 5 | 
Definition at line 28 of file class.ilSessionReminder.php.
Referenced by ilObjUserGUI\initForm(), ilPersonalSettingsGUI\initGeneralSettingsForm(), and ILIAS\User\Setup\DBUpdateSteps10\step_3().