| Package | Zend_Cache |
| Subpackage | Zend_Cache_Backend |
| Copyright | Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) |
| License | http://framework.zend.com/license/new-bsd New BSD License |

abstract class Zend_Cache_Backend_ZendServer extends Zend_Cache_Backend implements Zend_Cache_Backend_Interface
| Package | Zend_Cache |
| Subpackage | Zend_Cache_Backend |
| Copyright | Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) |
| License | http://framework.zend.com/license/new-bsd New BSD License |
| # $_options | Available options |
| # _clear() | Clear cache |
| - _expireTime() | Compute & return the expire time |
| # _fetch() | Fetch data |
| # _store() | Store data |
| # _unset() | Unset data |
| + clean() | Clean some cache records |
| + load() | Test if a cache is available for the given id and (if yes) return it (false else) |
| + remove() | Remove a cache record |
| + save() | Save some string datas into a cache record |
| + test() | Test if a cache is available or not (for the given id) |
protected $_options = array(
'namespace' => 'zendframework'
)
abstract protected function _clear( |
)
|
private function _expireTime( |
$lifetime)
|
$lifetime |
abstract protected function _fetch( |
$id)
|
abstract protected function _store( |
$data)
|
mixed $data |
Object to store |
string $id |
Cache id |
int $timeToLive |
Time to live in seconds |
Zend_Cache_Exception
abstract protected function _unset( |
$id)
|
string $id |
Cache id |
public function clean( |
$mode = Zend_Cache::CLEANING_MODE_ALL)
|
string $mode |
clean mode |
array $tags |
array of tags |
Zend_Cache_Exception
public function load( |
$id)
|
string $id |
cache id |
boolean $doNotTestCacheValidity |
if set to true, the cache validity won't be tested |
public function remove( |
$id)
|
string $id |
cache id |
public function save( |
$data)
|
string $data |
datas to cache |
string $id |
cache id |
array $tags |
array of strings, the cache record will be tagged by each string entry |
int $specificLifetime |
if != false, set a specific lifetime for this cache record (null => infinite lifetime) |
public function test( |
$id)
|
string $id |
cache id |
Zend_Cache_Exception