PHP Class Horde_Core_Cache_Session, horde

Since: 2.12.0
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Cache_Storage_Base
Datei anzeigen Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_stored array The list of keys stored in the cache backend.

Public Methods

Method Description
__construct ( array $params = [] )
clear ( )
exists ( $key, integer $lifetime )
expire ( $key )
get ( $key, integer $lifetime )
set ( $key, $data, integer $lifetime )

Protected Methods

Method Description
_getCid ( $key, $in_session )
_initOb ( )
_saveStored ( ) Save stored list to the session.

Method Details

__construct() public method

public __construct ( array $params = [] )
$params array Configuration parameters: - app: (string) Application to store session data under. - cache: (Horde_Cache) [REQUIRED] The backend cache driver used to store large entries. - maxsize: (integer) The maximum size of the data to store in the session (0 to always store in session). - storage_key: (string) The storage key to save the session data under.

_getCid() protected method

protected _getCid ( $key, $in_session )

_initOb() protected method

protected _initOb ( )

_saveStored() protected method

Save stored list to the session.
protected _saveStored ( )

clear() public method

public clear ( )

exists() public method

public exists ( $key, integer $lifetime )
$lifetime integer Ignored in this driver.

expire() public method

public expire ( $key )

get() public method

public get ( $key, integer $lifetime )
$lifetime integer Ignored in this driver.

set() public method

public set ( $key, $data, integer $lifetime )
$lifetime integer Ignored in this driver.

Property Details

$_stored protected_oe property

The list of keys stored in the cache backend.
protected array $_stored
return array