\Horde_Core_Cache_SessionObjects

Cache objects in session.

Summary

Methods
Properties
Constants
__construct()
get()
set()
exists()
expire()
clear()
No public properties found
STORED_KEY
_initOb()
_getCid()
_saveStored()
$_stored
N/A
No private methods found
No private properties found
N/A

Constants

STORED_KEY

STORED_KEY

Properties

$_stored

$_stored : array

The list of keys stored in the cache backend.

Type

array

Methods

__construct()

__construct(array  $params = array()) 

Parameters

array $params

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.

get()

get(  $key, integer  $lifetime) 

Parameters

$key
integer $lifetime

Ignored in this driver.

set()

set(  $key,   $data, integer  $lifetime) 

Parameters

$key
$data
integer $lifetime

Ignored in this driver.

exists()

exists(  $key, integer  $lifetime) 

Parameters

$key
integer $lifetime

Ignored in this driver.

expire()

expire(  $key) 

Parameters

$key

clear()

clear() 

_initOb()

_initOb() 

_getCid()

_getCid(  $key,   $in_session) 

Parameters

$key
$in_session

_saveStored()

_saveStored() 

Save stored list to the session.