Class Zend_Cache_Frontend_Page

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

Located in /Zend/Cache/Frontend/Page.php (line 39)

Zend_Cache_Core
   |
   --Zend_Cache_Frontend_Page
Variable Summary
Method Summary
 Zend_Cache_Frontend_Page __construct ([array $options = array()], boolean $doNotTestCacheValidity)
 boolean start ()
 string _flush (string $data)
Variables
array $_specificOptions = array(
'httpConditional' => false,
'debugHeader' => true,
'cacheWithGetVariables' => false,
'cacheWithPostVariables' => false,
'cacheWithSessionVariables' => false,
'cacheWithFilesVariables' => false,
'cacheWithCookiesVariables' => true,
'makeIdWithGetVariables' => true,
'makeIdWithPostVariables' => true,
'makeIdWithSessionVariables' => true,
'makeIdWithFilesVariables' => true,
'makeIdWithCookiesVariables' => true
)
(line 62)

This frontend specific options

====> (boolean) httpConditional :

  • if true, http conditional mode is on
WARNING : httpConditional OPTION IS NOT IMPLEMENTED FOR THE MOMENT (TODO)

====> (boolean) cacheWithXXXVariables (XXXX = 'Get', 'Post', 'Session', 'Files' or 'Cookies')

  • if true, cache is still on even if there are some variables in this superglobal array
  • if false, cache is off if there are some variables in this superglobal array
====> (boolean) makeIdWithXXXVariables (XXXX = 'Get', 'Post', 'Session', 'Files' or 'Cookies')
  • if true, we have to use the content of this superglobal array to make a cache id
  • if false, the cache id won't be dependent of the content of this superglobal array
====> (boolean) debugHeader :
  • if true, a debug text is added before each cached pages

  • var: 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 83)

Constructor

  • access: public
Zend_Cache_Frontend_Page __construct ([array $options = array()], boolean $doNotTestCacheValidity)
  • array $options: associative array of options
  • boolean $doNotTestCacheValidity: if set to true, the cache validity won't be tested

Redefinition of:
Zend_Cache_Core::__construct()
Constructor
start (line 98)

Start the cache

  • return: true if the cache is hit (false else)
  • access: public
boolean start ()
_flush (line 124)

callback for output buffering (shouldn't really be called manually)

  • return: data to send to browser
  • access: public
string _flush (string $data)
  • string $data: buffered output

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 Fri, 30 Jun 2006 11:21:21 -0500 by phpDocumentor 1.3.0RC6