package | Zend_Cache |
---|---|
subpackage | Zend_Cache_Backend |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(array $options = array()
)
array
Associative array of options
getLifetime(integer $specificLifetime) : integer
if $specificLifetime is not false, the given specific life time is used else, the global lifetime is used
integer
integer
Cache life timegetOption(string $name) : mixed
string
Optional, the options name to return
\Zend_Cache_Exceptions |
---|
mixed
getTmpDir() : string
inspired from Zend_File_Transfer_Adapter_Abstract
\Zend_Cache_Exception |
if unable to determine directory |
---|
string
isAutomaticCleaningAvailable() : boolean
DEPRECATED : use getCapabilities() instead
deprecated |
---|
boolean
setDirectives(array $directives) : void
array
Assoc of directives
\Zend_Cache_Exception |
---|
setOption(string $name, mixed $value) : void
string
mixed
\Zend_Cache_Exception |
---|
_isGoodTmpDir(string $dir) : boolean
string
temporary directory
boolean
true if the directory is ok_log(string $message, integer $priority = 4
) : void
string
integer
_loggerSanity() : void
Create a default log object if none is set.
\Zend_Cache_Exception |
---|
$_directives : array
array('lifetime' => 3600, 'logging' => false, 'logger' => null)
=====> (int) lifetime :
=====> (int) logging :