## Zend_Cache_Frontend_File

Description

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

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

    Zend_Cache_Core
       |
       --Zend_Cache_Frontend_File

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

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 63)

Constructor

- access: public

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

- array $options: associative array of options

Redefinition of:

Zend_Cache_Core::__construct()
  Constructor

get (line 85)

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 get (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::get()
  Test if a cache is available for the given id and (if yes) return it (false else)

test (line 102)

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::remove()
> Zend_Cache_Core::save()
> Zend_Cache_Core::setBackend()
> Zend_Cache_Core::setLifeTime()
> Zend_Cache_Core::setOption()
> Zend_Cache_Core::test()

Documentation generated on Tue, 11 Jul 2006 12:17:14 -0500 by phpDocumentor 1.3.0RC6