ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilSessionReminderCheck Class Reference
+ Collaboration diagram for ilSessionReminderCheck:

Protected Member Functions

 isSessionAlreadyExpired ($expiretime)
 
 isAuthenticatedUsrSession ($data)
 

Detailed Description

Author
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

Definition at line 9 of file class.ilSessionReminderCheck.php.

Member Function Documentation

◆ isAuthenticatedUsrSession()

ilSessionReminderCheck::isAuthenticatedUsrSession (   $data)
protected
Parameters
array | null$data
Returns
bool

Definition at line 130 of file class.ilSessionReminderCheck.php.

References $data.

131  {
132  return is_array($data) && isset($data['user_id']) && $data['user_id'] > 0 && $data['user_id'] != ANONYMOUS_USER_ID;
133  }
$data
Definition: bench.php:6

◆ isSessionAlreadyExpired()

ilSessionReminderCheck::isSessionAlreadyExpired (   $expiretime)
protected
Parameters
int$expiretime
Returns
bool

Definition at line 121 of file class.ilSessionReminderCheck.php.

122  {
123  return $expiretime < time();
124  }

The documentation for this class was generated from the following file: