19 declare(strict_types=1);
    54         if (isset($DIC[
'ilUser'])) {
    73             (
int) $this->
settings->get(
'session_reminder_lead_time')
    79         $min_value = self::MIN_LEAD_TIME;
    83             $lead_time !== self::LEAD_TIME_DISABLED &&
    84             ($lead_time < $min_value || $lead_time > $max_value)
    86             $lead_time = self::SUGGESTED_LEAD_TIME;
    89         return $lead_time !== self::LEAD_TIME_DISABLED ? min(
    95         ) : self::LEAD_TIME_DISABLED;
   103                 'session_reminder_lead_time'   112         return max(self::MIN_LEAD_TIME, ($expires / 60) - 1);
   146             !$this->
getUser()->isAnonymous() &&
   147             $this->
getUser()->getId() > 0 &&
 
calculateSecondsUntilExpiration()
 
setSecondsUntilExpiration(int $seconds_until_expiration)
 
setCurrentTime(int $current_time)
 
getGlobalSessionReminderLeadTime()
 
getSecondsUntilReminder()
 
static getIdleValue()
Returns the idle time in seconds. 
 
isEnoughTimeLeftForReminder()
 
static _lookupPref(int $a_usr_id, string $a_keyword)
 
__construct(ilObjUser $user, ClockInterface $clock, ilSetting $settings)
 
setSecondsUntilReminder(int $seconds_until_reminder)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
const SUGGESTED_LEAD_TIME
 
int $seconds_until_expiration
 
setExpirationTime(int $expiration_time)
 
setLeadTime(int $lead_time)
 
calculateSecondsUntilReminder()
 
static getSessionExpireValue()
Returns the session expiration value. 
 
int $seconds_until_reminder
 
getSecondsUntilExpiration()
 
buildValidLeadTime(int $lead_time)