Elgg  Version 5.1
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Elgg\Database\SessionHandler Class Reference

Database session handler. More...

Inheritance diagram for Elgg\Database\SessionHandler:

Public Member Functions

 __construct (Database $db)
 Constructor. More...
 
 open ($path, $name)
 
 read ($id)
 
 write ($id, $data)
 
 close ()
 
 destroy ($id)
 
 gc ($max_lifetime)
 

Public Attributes

const TABLE_NAME = 'users_sessions'
 

Protected Attributes

Database $db
 

Detailed Description

Database session handler.

Definition at line 13 of file SessionHandler.php.

Constructor & Destructor Documentation

Elgg\Database\SessionHandler::__construct ( Database  $db)

Constructor.

Parameters
Database$dbThe database

Definition at line 29 of file SessionHandler.php.

Member Function Documentation

Elgg\Database\SessionHandler::close ( )

Definition at line 90 of file SessionHandler.php.

Elgg\Database\SessionHandler::destroy (   $id)

Definition at line 98 of file SessionHandler.php.

Elgg\Database\SessionHandler::gc (   $max_lifetime)

Definition at line 111 of file SessionHandler.php.

Elgg\Database\SessionHandler::open (   $path,
  $name 
)

Definition at line 37 of file SessionHandler.php.

Elgg\Database\SessionHandler::read (   $id)

Definition at line 45 of file SessionHandler.php.

Elgg\Database\SessionHandler::write (   $id,
  $data 
)

Definition at line 59 of file SessionHandler.php.

Member Data Documentation

Database Elgg\Database\SessionHandler::$db
protected

Definition at line 22 of file SessionHandler.php.

const Elgg\Database\SessionHandler::TABLE_NAME = 'users_sessions'

Definition at line 20 of file SessionHandler.php.


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