Cache/Frontend/Output.php
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Cache
- subpackage
- Zend_Cache_Frontend
- version
- $Id: Output.php 20096 2010-01-06 02:05:09Z bkarwin $
- Classes
- Zend_Cache_Frontend_Output
Description
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
Zend_Cache_Frontend_Output
- Extends from
- Zend_Cache_Core
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Cache
- subpackage
- Zend_Cache_Frontend
- Properties
- $_idStack
- Methods
- __construct
- start
- end
Description
Properties
$_idStack = 'array'
Details
- visibility
- private
- default
- array
- final
- false
- static
- false
Methods
__construct(
array $options
=
array
)
:
void
Constructor
Arguments
- $options
- array
Associative array of options
Details
- visibility
- public
- final
- false
- static
- false
end(
array $tags
=
array, int $specificLifetime
=
false, string $forcedDatas
=
null, boolean $echoData
=
true, int $priority
=
8
)
:
void
Stop the cache
Arguments
- $tags
- array
Tags array
- $specificLifetime
- int
If != false, set a specific lifetime for this cache record (null => infinite lifetime)
- $forcedDatas
- string
If not null, force written datas with this
- $echoData
- boolean
If set to true, datas are sent to the browser
- $priority
- int
integer between 0 (very low priority) and 10 (maximum priority) used by some particular backends
Details
- visibility
- public
- final
- false
- static
- false
start(
string $id, boolean $doNotTestCacheValidity
=
false, boolean $echoData
=
true
)
:
mixed
Start the cache
Arguments
- $id
- string
Cache id
- $doNotTestCacheValidity
- boolean
If set to true, the cache validity won't be tested
- $echoData
- boolean
If set to true, datas are sent to the browser if the cache is hit (simpy returned else)
Output
- mixed
- True if the cache is hit (false else) with $echoData=true (default) ; string else (datas)
Details
- visibility
- public
- final
- false
- static
- false