PHP Class Horde_SessionHandler_Storage_Stack, horde

This driver allows for use of caching backends on top of persistent backends, for example. Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_SessionHandler_Storage
Exibir arquivo Open project: horde/horde

Protected Properties

Property Type Description
$_stack array Stack of storage objects.

Public Methods

Method Description
__construct ( array $params = [] ) Constructor.
close ( )
destroy ( $id )
gc ( $maxlifetime = 300 )
getSessionIDs ( )
open ( $save_path = null, $session_name = null )
read ( $id )
write ( $id, $session_data )

Method Details

__construct() public method

Constructor.
public __construct ( array $params = [] )
$params array Parameters:
stack - (array) [REQUIRED] A list of storage objects to loop
        through, in order of priority. The last entry is considered
        the "master" server.

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 )

write() public method

public write ( $id, $session_data )

Property Details

$_stack protected_oe property

Stack of storage objects.
protected array $_stack
return array