ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
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

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

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

References $data.

{
return is_array($data) && isset($data['user_id']) && $data['user_id'] > 0 && $data['user_id'] != ANONYMOUS_USER_ID;
}
ilSessionReminderCheck::isSessionAlreadyExpired (   $expiretime)
protected
Parameters
int$expiretime
Returns
bool

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

{
return $expiretime < time();
}

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