PHP Class Horde_Cache_Storage_Stack, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Cache_Storage_Base
Datei anzeigen Open project: horde/horde

Protected Properties

Property Type Description
$_stack string Stack of cache drivers.

Public Methods

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

Protected Methods

Method Description
_initOb ( )

Method Details

__construct() public method

Constructor.
public __construct ( array $params = [] )
$params array Parameters:
  - stack: (array) [REQUIRED] An array of storage instances to loop
           through, in order of priority. The last entry is considered
           the 'master' driver, for purposes of writes.

_initOb() protected method

protected _initOb ( )

clear() public method

public clear ( )

exists() public method

public exists ( $key, $lifetime )

expire() public method

public expire ( $key )

get() public method

public get ( $key, $lifetime )

set() public method

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

Property Details

$_stack protected_oe property

Stack of cache drivers.
protected string $_stack
return string