ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Public Member Functions | |
calculateSecondsUntilExpiration () | |
calculateSecondsUntilReminder () | |
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 | createInstanceWithCurrentUserSession () |
Data Fields | |
const | MIN_LEAD_TIME = 2 |
const | SUGGESTED_LEAD_TIME = 5 |
Protected Member Functions | |
__construct () | |
ilSessionReminder constructor. More... | |
initWithUserContext () | |
isEnoughTimeLeftForReminder () | |
Protected Attributes | |
$user | |
$lead_time = 0 | |
$expiration_time = 0 | |
$current_time = 0 | |
$seconds_until_expiration = 0 | |
$seconds_until_reminder = 0 | |
Definition at line 9 of file class.ilSessionReminder.php.
|
protected |
ilSessionReminder::calculateSecondsUntilExpiration | ( | ) |
Definition at line 85 of file class.ilSessionReminder.php.
References getCurrentTime(), getExpirationTime(), and setSecondsUntilExpiration().
Referenced by initWithUserContext().
ilSessionReminder::calculateSecondsUntilReminder | ( | ) |
Definition at line 93 of file class.ilSessionReminder.php.
References getLeadTime(), getSecondsUntilExpiration(), and setSecondsUntilReminder().
Referenced by initWithUserContext().
|
static |
Definition at line 45 of file class.ilSessionReminder.php.
Referenced by ilGlobalPageTemplate\prepareBasicJS().
ilSessionReminder::getCurrentTime | ( | ) |
Definition at line 174 of file class.ilSessionReminder.php.
References $current_time.
Referenced by calculateSecondsUntilExpiration().
ilSessionReminder::getExpirationTime | ( | ) |
Definition at line 193 of file class.ilSessionReminder.php.
References $expiration_time.
Referenced by calculateSecondsUntilExpiration().
ilSessionReminder::getLeadTime | ( | ) |
Definition at line 212 of file class.ilSessionReminder.php.
References $lead_time.
Referenced by calculateSecondsUntilReminder(), and isEnoughTimeLeftForReminder().
ilSessionReminder::getSecondsUntilExpiration | ( | ) |
Definition at line 231 of file class.ilSessionReminder.php.
References $seconds_until_expiration.
Referenced by calculateSecondsUntilReminder(), and isEnoughTimeLeftForReminder().
ilSessionReminder::getSecondsUntilReminder | ( | ) |
Definition at line 250 of file class.ilSessionReminder.php.
References $seconds_until_reminder.
ilSessionReminder::getUser | ( | ) |
Definition at line 155 of file class.ilSessionReminder.php.
References $user.
Referenced by initWithUserContext(), and isActive().
|
protected |
Definition at line 66 of file class.ilSessionReminder.php.
References calculateSecondsUntilExpiration(), calculateSecondsUntilReminder(), ilSession\getIdleValue(), getUser(), setCurrentTime(), setExpirationTime(), and setLeadTime().
ilSessionReminder::isActive | ( | ) |
Definition at line 109 of file class.ilSessionReminder.php.
References $DIC, $ilSetting, getUser(), isEnoughTimeLeftForReminder(), and ilSession\SESSION_HANDLING_FIXED.
|
protected |
Definition at line 101 of file class.ilSessionReminder.php.
References getLeadTime(), and getSecondsUntilExpiration().
Referenced by isActive().
ilSessionReminder::setCurrentTime | ( | int | $current_time | ) |
int | $current_time |
Definition at line 164 of file class.ilSessionReminder.php.
References $current_time.
Referenced by initWithUserContext().
ilSessionReminder::setExpirationTime | ( | int | $expiration_time | ) |
int | $expiration_time |
Definition at line 183 of file class.ilSessionReminder.php.
References $expiration_time.
Referenced by initWithUserContext().
ilSessionReminder::setLeadTime | ( | int | $lead_time | ) |
int | $lead_time |
Definition at line 202 of file class.ilSessionReminder.php.
References $lead_time.
Referenced by initWithUserContext().
ilSessionReminder::setSecondsUntilExpiration | ( | int | $seconds_until_expiration | ) |
int | $seconds_until_expiration |
Definition at line 221 of file class.ilSessionReminder.php.
References $seconds_until_expiration.
Referenced by calculateSecondsUntilExpiration().
ilSessionReminder::setSecondsUntilReminder | ( | int | $seconds_until_reminder | ) |
int | $seconds_until_reminder |
Definition at line 240 of file class.ilSessionReminder.php.
References $seconds_until_reminder.
Referenced by calculateSecondsUntilReminder().
ilSessionReminder::setUser | ( | ilObjUser | $user | ) |
ilObjUser | $user |
Definition at line 145 of file class.ilSessionReminder.php.
|
protected |
Definition at line 27 of file class.ilSessionReminder.php.
Referenced by getCurrentTime(), and setCurrentTime().
|
protected |
Definition at line 24 of file class.ilSessionReminder.php.
Referenced by getExpirationTime(), and setExpirationTime().
|
protected |
Definition at line 21 of file class.ilSessionReminder.php.
Referenced by getLeadTime(), and setLeadTime().
|
protected |
Definition at line 30 of file class.ilSessionReminder.php.
Referenced by getSecondsUntilExpiration(), and setSecondsUntilExpiration().
|
protected |
Definition at line 33 of file class.ilSessionReminder.php.
Referenced by getSecondsUntilReminder(), and setSecondsUntilReminder().
|
protected |
Definition at line 18 of file class.ilSessionReminder.php.
Referenced by createInstanceWithCurrentUserSession(), getUser(), and setUser().
const ilSessionReminder::MIN_LEAD_TIME = 2 |
Definition at line 12 of file class.ilSessionReminder.php.
Referenced by ilPersonalSettingsGUI\initGeneralSettingsForm().
const ilSessionReminder::SUGGESTED_LEAD_TIME = 5 |
Definition at line 15 of file class.ilSessionReminder.php.
Referenced by ilPersonalSettingsGUI\initGeneralSettingsForm().