## Zend_Cache_Frontend_File

Description

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

Located in /Zend/Cache/Frontend/File.php (line 36)

    Zend_Cache_Core
       |
       --Zend_Cache_Frontend_File

Variable Summary
array $_specificOptions
Method Summary
Zend_Cache_Frontend_File __construct ([array $options = array()])
mixed load (string $id, [boolean $doNotTestCacheValidity = false], [boolean $doNotUnserialize = false])
boolean test (string $id)
Variables
array $_specificOptions = array(
'masterFile' => ''
) (line 48)

Available options

====> (string) masterFile :

- the complete path and name of the master file
- this option has to be set !

- var: available options
- access: protected

Redefinition of:

Zend_Cache_Core::$_specificOptions
  Not used for the core, just a sort a hint to get a common setOption() method (for the core and for frontends)

#### Inherited Variables

Inherited from Zend_Cache_Core

> Zend_Cache_Core::$_directivesList
> Zend_Cache_Core::$_options

Methods
Constructor __construct (line 64)

Constructor

- access: public

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

- array $options: associative array of options

Redefinition of:

Zend_Cache_Core::__construct()
  Constructor

load (line 86)

Test if a cache is available for the given id and (if yes) return it (false else)

- return: cached datas (or false)
- access: public

mixed load (string $id, [boolean $doNotTestCacheValidity = false], [boolean $doNotUnserialize = false])

- string $id: cache id
- boolean $doNotTestCacheValidity: if set to true, the cache validity won't be tested
- boolean $doNotUnserialize: do not serialize (even if automaticSerialization is true) => for internal use

Redefinition of:

Zend_Cache_Core::load()
  Test if a cache is available for the given id and (if yes) return it (false else)

test (line 103)

Test if a cache is available for the given id

- return: true is a cache is available, false else
- access: public

boolean test (string $id)

- string $id: cache id

Redefinition of:

Zend_Cache_Core::test()
  Test if a cache is available for the given id

#### Inherited Methods

Inherited From Zend_Cache_Core

> Zend_Cache_Core::__construct()
> Zend_Cache_Core::clean()
> Zend_Cache_Core::get()
> Zend_Cache_Core::load()
> Zend_Cache_Core::remove()
> Zend_Cache_Core::save()
> Zend_Cache_Core::setBackend()
> Zend_Cache_Core::setLifeTime()
> Zend_Cache_Core::setOption()
> Zend_Cache_Core::test()

Documentation generated on Wed, 21 Feb 2007 11:47:51 -0800 by phpDocumentor 1.3.1