Class Horde_Cache_zps4

Description

The Horde_Cache_zps4:: class provides a Zend Performance Suite (version 4.0+) implementation of the Horde caching system.

$Horde: framework/Cache/Cache/zps4.php,v 1.1.10.10 2010/06/13 18:01:37 mrubinsk Exp $

Copyright 1999-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Located in /Cache/Cache/zps4.php (line 17)

Horde_Cache
   |
   --Horde_Cache_zps4
Method Summary
 boolean exists (string $key, [integer $lifetime = 1])
 boolean expire (string $key)
 mixed get (string $key, [integer $lifetime = 1])
 boolean set (string $key, mixed $data, [integer $lifetime = null])
Variables

Inherited Variables

Inherited from Horde_Cache

Horde_Cache::$_params
Methods
exists (line 57)

Checks if a given key exists in the cache, valid for the given lifetime.

  • return: Existance.
boolean exists (string $key, [integer $lifetime = 1])
  • string $key: Cache key to check.
  • integer $lifetime: Lifetime of the key in seconds.

Redefinition of:
Horde_Cache::exists()
Checks if a given key exists in the cache, valid for the given lifetime.
expire (line 72)

Expire any existing data for the given key.

  • return: Success or failure.
boolean expire (string $key)
  • string $key: Cache key to expire.

Redefinition of:
Horde_Cache::expire()
Expire any existing data for the given key.
get (line 27)

Attempts to retrieve a piece of cached data and return it to the caller.

  • return: Cached data, or false if none was found.
mixed get (string $key, [integer $lifetime = 1])
  • string $key: Cache key to fetch.
  • integer $lifetime: Lifetime of the key in seconds.

Redefinition of:
Horde_Cache::get()
Attempts to retrieve a cached object and return it to the caller.
set (line 42)

Attempts to store an object to the cache.

  • return: True on success, false on failure.
boolean set (string $key, mixed $data, [integer $lifetime = null])
  • string $key: Cache key (identifier).
  • mixed $data: Data to store in the cache.
  • integer $lifetime: Data lifetime. @since Horde 3.2 [Not used]

Redefinition of:
Horde_Cache::set()
Attempts to store an object in the cache.

Inherited Methods

Inherited From Horde_Cache

 Horde_Cache::Horde_Cache()
 Horde_Cache::exists()
 Horde_Cache::expire()
 Horde_Cache::factory()
 Horde_Cache::get()
 Horde_Cache::output()
 Horde_Cache::set()
 Horde_Cache::singleton()
 Horde_Cache::_getLifetime()

Documentation generated on Sun, 30 Jan 2011 05:23:34 +0000 by phpDocumentor 1.4.3