Docs For Class Zend_Cache_Backend

## Class Zend_Cache_Backend

Description

- license: New BSD License
- copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Cache/Backend.php (line 29)

Direct descendents

Class | Description
--- | ---
Zend_Cache_Backend_APC |
Zend_Cache_Backend_Sqlite |
Zend_Cache_Backend_Memcached |
Zend_Cache_Backend_File |

Variable Summary
array $_directives
array $_options
Method Summary
Zend_Cache_Backend __construct ([array $options = array()])
void setDirectives (array $directives)
void setOption (string $name, mixed $value)
Variables
array $_directives = array(
'lifeTime' => 3600,
'logging' => false
) (line 48)

Frontend or Core directives

=====> (int) lifeTime :

- Cache lifetime (in seconds)
- If null, the cache is valid forever

=====> (int) logging :

- if set to true, a logging is activated throw Zend_Log

- var: directives
- access: protected

array $_options = array() (line 58)

Available options

- var: available options
- access: protected

Redefined in descendants as:

- Zend_Cache_Backend_Sqlite::$_options : Available options
- Zend_Cache_Backend_Memcached::$_options : Available options
- Zend_Cache_Backend_File::$_options : Available options

Methods
Constructor __construct (line 70)

Constructor

- access: public

Zend_Cache_Backend __construct ([array $options = array()])

- array $options: associative array of options

Redefined in descendants as:

- Zend_Cache_Backend_APC::__construct() : Constructor
- Zend_Cache_Backend_Sqlite::__construct() : Constructor
- Zend_Cache_Backend_Memcached::__construct() : Constructor
- Zend_Cache_Backend_File::__construct() : Constructor

setDirectives (line 83)

Set the frontend directives

- access: public

void setDirectives (array $directives)

- array $directives: assoc of directives

setOption (line 108)

Set an option

- access: public

void setOption (string $name, mixed $value)

- string $name
- mixed $value

Documentation generated on Sun, 29 Oct 2006 21:27:01 -0600 by phpDocumentor 1.3.0RC6