Cache/Frontend/Output.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Cache  
Subpackage
Zend_Cache_Frontend  
Version
$Id$  

\Zend_Cache_Frontend_Output

Package: Zend_Cache\Zend_Cache_Frontend
Parent(s)
\Zend_Cache_Core
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprivate$_idStack = array()
Default valuearray()Details
Type
n/a

Methods

methodpublic__construct(array $options = array()) : void

Constructor

Parameters
NameTypeDescription
$optionsarray

Associative array of options

methodpublicend(array $tags = array(), int $specificLifetime = false, string $forcedDatas = null, boolean $echoData = true, int $priority = 8) : void

Stop the cache

Parameters
NameTypeDescription
$tagsarray

Tags array

$specificLifetimeint

If != false, set a specific lifetime for this cache record (null => infinite lifetime)

$forcedDatasstring

If not null, force written datas with this

$echoDataboolean

If set to true, datas are sent to the browser

$priorityint

integer between 0 (very low priority) and 10 (maximum priority) used by some particular backends

methodpublicstart(string $id, boolean $doNotTestCacheValidity = false, boolean $echoData = true) : mixed

Start the cache

Parameters
NameTypeDescription
$idstring

Cache id

$doNotTestCacheValidityboolean

If set to true, the cache validity won't be tested

$echoDataboolean

If set to true, datas are sent to the browser if the cache is hit (simply returned else)

Returns
TypeDescription
mixedTrue if the cache is hit (false else) with $echoData=true (default) ; string else (datas)
Documentation was generated by phpDocumentor 2.2.0 .