ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 132 of file class.ilSessionReminderCheck.php.

References $data.

133  {
134  return is_array($data) && isset($data['user_id']) && $data['user_id'] > 0 && $data['user_id'] != ANONYMOUS_USER_ID;
135  }

◆ isSessionAlreadyExpired()

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

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

References time.

124  {
125  return $expiretime < time();
126  }
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: