Zend Framework
1.12
|
Public Member Functions | |
__construct (array $options=array()) | |
Constructor. | |
![]() | |
load ($id, $doNotTestCacheValidity=false) | |
Test if a cache is available for the given id and (if yes) return it (false else) | |
test ($id) | |
Test if a cache is available or not (for the given id) | |
save ($data, $id, $tags=array(), $specificLifetime=false) | |
Save some string datas into a cache record. | |
remove ($id) | |
Remove a cache record. | |
clean ($mode=Zend_Cache::CLEANING_MODE_ALL, $tags=array()) | |
Clean some cache records. | |
![]() | |
__construct (array $options=array()) | |
Constructor. | |
setDirectives ($directives) | |
Set the frontend directives. | |
setOption ($name, $value) | |
Set an option. | |
getOption ($name) | |
Returns an option. | |
getLifetime ($specificLifetime) | |
Get the life time. | |
isAutomaticCleaningAvailable () | |
Return true if the automatic cleaning is available for the backend. | |
getTmpDir () | |
Determine system TMP directory and detect if we have read access. | |
![]() | |
setDirectives ($directives) | |
Set the frontend directives. | |
Protected Member Functions | |
_store ($data, $id, $timeToLive) | |
Store data. | |
_fetch ($id) | |
Fetch data. | |
_unset ($id) | |
Unset data. | |
_clear () | |
Clear cache. | |
![]() | |
_store ($data, $id, $timeToLive) | |
Store data. | |
_fetch ($id) | |
Fetch data. | |
_unset ($id) | |
Unset data. | |
_clear () | |
Clear cache. | |
![]() | |
_isGoodTmpDir ($dir) | |
Verify if the given temporary directory is readable and writable. | |
_loggerSanity () | |
Make sure if we enable logging that the Zend_Log class is available. | |
_log ($message, $priority=4) | |
Log a message at the WARN (4) priority. | |
Additional Inherited Members | |
![]() | |
$_options | |
__construct | ( | array | $options = array() | ) |
|
protected |
Clear cache.
|
protected |
Fetch data.
string | $id | Cache id |
|
protected |
Store data.
mixed | $data | Object to store |
string | $id | Cache id |
int | $timeToLive | Time to live in seconds |
|
protected |
Unset data.
string | $id | Cache id |