PHP Class Horde_SessionHandler_Storage_Hashtable, horde

Since: 2.2.0
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_SessionHandler_Storage
Mostra file Open project: horde/horde

Protected Properties

Property Type Description
$_hash Horde_HashTable HashTable object.
$_id string Current session ID.
$_trackID string The ID used for session tracking.

Public Methods

Method Description
__construct ( array $params = [] ) Constructor.
close ( )
destroy ( $id )
gc ( $maxlifetime = 300 )
getSessionIDs ( )
open ( $save_path = null, $session_name = null )
read ( $id )
trackGC ( ) Do garbage collection for session tracking information.
write ( $id, $session_data )

Protected Methods

Method Description
_getTrackIds ( ) : array Get the tracking IDs.

Method Details

__construct() public method

Constructor.
public __construct ( array $params = [] )
$params array Parameters:
  - hashtable: (Horde_HashTable) [REQUIRED] A Horde_HashTable object.
  - track: (boolean) Track active sessions?

_getTrackIds() protected method

Get the tracking IDs.
protected _getTrackIds ( ) : array
return array Tracking IDs.

close() public method

public close ( )

destroy() public method

public destroy ( $id )

gc() public method

public gc ( $maxlifetime = 300 )

getSessionIDs() public method

public getSessionIDs ( )

open() public method

public open ( $save_path = null, $session_name = null )

read() public method

public read ( $id )

trackGC() public method

Do garbage collection for session tracking information.
public trackGC ( )

write() public method

public write ( $id, $session_data )

Property Details

$_hash protected_oe property

HashTable object.
protected Horde_HashTable $_hash
return Horde_HashTable

$_id protected_oe property

Current session ID.
protected string $_id
return string

$_trackID protected_oe property

The ID used for session tracking.
protected string $_trackID
return string