|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilSessionReminder:Public Member Functions | |
| __construct (ilObjUser $user, ClockInterface $clock) | |
| 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 | MIN_LEAD_TIME = 2 |
| const | SUGGESTED_LEAD_TIME = 5 |
Private Member Functions | |
| init () | |
| calculateSecondsUntilExpiration () | |
| calculateSecondsUntilReminder () | |
| isEnoughTimeLeftForReminder () | |
Private Attributes | |
| ClockInterface | $clock |
| ilObjUser | $user |
| 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 | ||
| ) |
Definition at line 75 of file class.ilSessionReminder.php.
References $clock, $user, init(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
Definition at line 37 of file class.ilSessionReminder.php.
References $DIC, $user, and ilObject\setId().
Referenced by ilGlobalPageTemplate\prepareBasicJS().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 99 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 104 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 144 of file class.ilSessionReminder.php.
References $current_time.
Referenced by calculateSecondsUntilExpiration().
Here is the caller graph for this function:| ilSessionReminder::getExpirationTime | ( | ) |
Definition at line 156 of file class.ilSessionReminder.php.
References $expiration_time.
Referenced by calculateSecondsUntilExpiration().
Here is the caller graph for this function:| ilSessionReminder::getLeadTime | ( | ) |
Definition at line 168 of file class.ilSessionReminder.php.
References $lead_time.
Referenced by calculateSecondsUntilReminder(), and isEnoughTimeLeftForReminder().
Here is the caller graph for this function:| ilSessionReminder::getSecondsUntilExpiration | ( | ) |
Definition at line 180 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 192 of file class.ilSessionReminder.php.
References $seconds_until_reminder.
| ilSessionReminder::getUser | ( | ) |
Definition at line 132 of file class.ilSessionReminder.php.
References $user.
Referenced by init(), and isActive().
Here is the caller graph for this function:
|
private |
Definition at line 83 of file class.ilSessionReminder.php.
References calculateSecondsUntilExpiration(), calculateSecondsUntilReminder(), ilSession\getIdleValue(), getUser(), 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 114 of file class.ilSessionReminder.php.
References ILIAS\Survey\Mode\getId(), getUser(), and isEnoughTimeLeftForReminder().
Here is the call graph for this function:
|
private |
Definition at line 109 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 137 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 149 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 161 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 173 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 185 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 125 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 33 of file class.ilSessionReminder.php.
Referenced by getCurrentTime(), and setCurrentTime().
|
private |
Definition at line 32 of file class.ilSessionReminder.php.
Referenced by getExpirationTime(), and setExpirationTime().
|
private |
Definition at line 31 of file class.ilSessionReminder.php.
Referenced by getLeadTime(), and setLeadTime().
|
private |
Definition at line 34 of file class.ilSessionReminder.php.
Referenced by getSecondsUntilExpiration(), and setSecondsUntilExpiration().
|
private |
Definition at line 35 of file class.ilSessionReminder.php.
Referenced by getSecondsUntilReminder(), and setSecondsUntilReminder().
|
private |
Definition at line 30 of file class.ilSessionReminder.php.
Referenced by __construct(), byLoggedInUser(), getUser(), and setUser().
| const ilSessionReminder::MIN_LEAD_TIME = 2 |
Definition at line 26 of file class.ilSessionReminder.php.
Referenced by ilPersonalSettingsGUI\initGeneralSettingsForm().
| const ilSessionReminder::SUGGESTED_LEAD_TIME = 5 |
Definition at line 27 of file class.ilSessionReminder.php.
Referenced by ilPersonalSettingsGUI\initGeneralSettingsForm().