public function test($id) { if (!
$this->_options
['caching'
]) { return false;
} $id =
$this->
_id($id); // cache id may need prefix
self::
_validateIdOrTag($id);
$this->_lastId =
$id;
$this->
_log("Zend_Cache_Core: test item '{
$id}'", 7
);
return $this->_backend->
test($id);
} /**
* Save some data in a cache
*
* @param mixed $data Data to put in cache (can be another type than string if automatic_serialization is on)
* @param string $id Cache id (if not set, the last cache id will be used)
* @param array $tags Cache tags
* @param int|bool|null $specificLifetime If != false, set a specific lifetime for this cache record (null => infinite lifetime)
* @param int $priority integer between 0 (very low priority) and 10 (maximum priority) used by some particular backends
*
* @throws Zend_Cache_Exception
*
* @return bool True if no problem
*/