Class Zend_Cache_Frontend_File

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

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

Zend_Cache_Core
   |
   --Zend_Cache_Frontend_File
Variable Summary
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(
'master_file' => ''
)
(line 48)

Available options

====> (string) master_file :

  • 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::$_backwardCompatibilityArray
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 automatic_serialization 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()
 Zend_Cache_Core::_log()
 Zend_Cache_Core::_loggerSanity()

Documentation generated on Sat, 05 May 2007 11:54:47 -0700 by phpDocumentor 1.3.2