Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct (\Zend_Cache_Backend $cache) | |
contains ($id, array $options=null) | |
delete ($id, array $options=null) | |
fetch ($id, array $options=null) | |
save ($id, $data, $lifeTime=false, array $options=null) | |
![]() | |
getCacheObject () | |
Additional Inherited Members | |
![]() | |
$cache | |
Guzzle\Cache\Zf1CacheAdapter::__construct | ( | \Zend_Cache_Backend | $cache | ) |
\Zend_Cache_Backend | $cache | Cache object to wrap |
Definition at line 19 of file Zf1CacheAdapter.php.
References Guzzle\Cache\AbstractCacheAdapter\$cache, and Guzzle\Common\Version\warn().
Guzzle\Cache\Zf1CacheAdapter::contains | ( | $id, | |
array | $options = null |
||
) |
Test if an entry exists in the cache.
string | $id | cache id The cache id of the entry to check for. |
array | $options | Array of cache adapter options |
Implements Guzzle\Cache\CacheAdapterInterface.
Definition at line 25 of file Zf1CacheAdapter.php.
Guzzle\Cache\Zf1CacheAdapter::delete | ( | $id, | |
array | $options = null |
||
) |
Deletes a cache entry.
string | $id | cache id |
array | $options | Array of cache adapter options |
Implements Guzzle\Cache\CacheAdapterInterface.
Definition at line 30 of file Zf1CacheAdapter.php.
Guzzle\Cache\Zf1CacheAdapter::fetch | ( | $id, | |
array | $options = null |
||
) |
Fetches an entry from the cache.
string | $id | cache id The id of the cache entry to fetch. |
array | $options | Array of cache adapter options |
Implements Guzzle\Cache\CacheAdapterInterface.
Definition at line 35 of file Zf1CacheAdapter.php.
Guzzle\Cache\Zf1CacheAdapter::save | ( | $id, | |
$data, | |||
$lifeTime = false , |
|||
array | $options = null |
||
) |
Puts data into the cache.
string | $id | The cache id |
string | $data | The cache entry/data |
int | bool | $lifeTime | The lifetime. If != false, sets a specific lifetime for this cache entry |
array | $options | Array of cache adapter options |
Implements Guzzle\Cache\CacheAdapterInterface.
Definition at line 40 of file Zf1CacheAdapter.php.