Public Member Functions

Zend_Cache_Frontend_Output Class Reference

Inheritance diagram for Zend_Cache_Frontend_Output:
Zend_Cache_Core

Public Member Functions

 __construct (array $options=array())
 start ($id, $doNotTestCacheValidity=false, $echoData=true)
 end ($tags=array(), $specificLifetime=false, $forcedDatas=null, $echoData=true, $priority=8)

Detailed Description

Definition at line 36 of file Output.php.


Constructor & Destructor Documentation

__construct ( array $  options = array() )

Constructor

Parameters:
array$optionsAssociative array of options
Returns:
void

Definition at line 47 of file Output.php.


Member Function Documentation

end ( tags = array(),
specificLifetime = false,
forcedDatas = null,
echoData = true,
priority = 8 
)

Stop the cache

Parameters:
array$tagsTags array
int$specificLifetimeIf != false, set a specific lifetime for this cache record (null => infinite lifetime)
string$forcedDatasIf not null, force written datas with this
boolean$echoDataIf set to true, datas are sent to the browser
int$priorityinteger between 0 (very low priority) and 10 (maximum priority) used by some particular backends
Returns:
void

Definition at line 88 of file Output.php.

start ( id,
doNotTestCacheValidity = false,
echoData = true 
)

Start the cache

Parameters:
string$idCache id
boolean$doNotTestCacheValidityIf set to true, the cache validity won't be tested
boolean$echoDataIf set to true, datas are sent to the browser if the cache is hit (simpy returned else)
Returns:
mixed True if the cache is hit (false else) with $echoData=true (default) ; string else (datas)

Definition at line 61 of file Output.php.


The documentation for this class was generated from the following file: