Zend Framework
1.12
|
Public Member Functions | |
__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. | |
Protected Member Functions | |
_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. | |
Protected Attributes | |
$_directives | |
$_options = array() | |
__construct | ( | array | $options = array() | ) |
Constructor.
array | $options | Associative array of options |
Zend_Cache_Exception |
|
protected |
Verify if the given temporary directory is readable and writable.
string | $dir | temporary directory |
|
protected |
Log a message at the WARN (4) priority.
string | $message |
Zend_Cache_Exception |
|
protected |
Make sure if we enable logging that the Zend_Log class is available.
Create a default log object if none is set.
Zend_Cache_Exception |
getLifetime | ( | $specificLifetime | ) |
Get the life time.
if $specificLifetime is not false, the given specific life time is used else, the global lifetime is used
int | $specificLifetime |
getOption | ( | $name | ) |
Returns an option.
string | $name | Optional, the options name to return |
Zend_Cache_Exceptions |
getTmpDir | ( | ) |
Determine system TMP directory and detect if we have read access.
inspired from Zend_File_Transfer_Adapter_Abstract
Zend_Cache_Exception | if unable to determine directory |
isAutomaticCleaningAvailable | ( | ) |
Return true if the automatic cleaning is available for the backend.
DEPRECATED : use getCapabilities() instead
setDirectives | ( | $directives | ) |
Set the frontend directives.
array | $directives | Assoc of directives |
Zend_Cache_Exception |
setOption | ( | $name, | |
$value | |||
) |
|
protected |
|
protected |