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

Database session handler. More...

Inheritance diagram for Elgg\Database\SessionHandler:

Public Member Functions

 __construct (protected 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'
 

Detailed Description

Database session handler.

Definition at line 13 of file SessionHandler.php.

Constructor & Destructor Documentation

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

Constructor.

Parameters
Database$dbThe database

Definition at line 27 of file SessionHandler.php.

Member Function Documentation

Elgg\Database\SessionHandler::close ( )

Definition at line 87 of file SessionHandler.php.

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

Definition at line 95 of file SessionHandler.php.

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

Definition at line 108 of file SessionHandler.php.

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

Definition at line 34 of file SessionHandler.php.

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

Definition at line 42 of file SessionHandler.php.

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

Definition at line 56 of file SessionHandler.php.

Member Data Documentation

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: