ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 142 of file class.ilSessionReminderCheck.php.

References $data.

143  {
144  return is_array($data) && isset($data['user_id']) && $data['user_id'] > 0 && $data['user_id'] != ANONYMOUS_USER_ID;
145  }

◆ isSessionAlreadyExpired()

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

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

References time.

134  {
135  return $expiretime < time();
136  }
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.

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