Source code for file /pear/cache/lite/Output.php
Documentation is available at Output.php
* This class extends Cache_Lite and uses output buffering to get the data to cache.
* There are some examples in the 'docs/examples' file
* Technical choices are described in the 'docs/technical' file
* @version $Id: Output.php,v 1.4 2006/01/29 00:22:07 fab Exp $
// Check to ensure this file is within the rest of the framework
//require_once('Cache/Lite.php');
// --- Public methods ---
* $options is an assoc. To have a look at availables options,
* see the constructor of the Cache_Lite class in 'Cache_Lite.php'
* @param array $options options
* @param string $id cache id
* @param string $group name of the cache group
* @param boolean $doNotTestCacheValidity if set to true, the cache validity won't be tested
* @return boolean true if the cache is hit (false else)
function start($id, $group =
'default', $doNotTestCacheValidity =
false)
$data =
$this->get($id, $group, $doNotTestCacheValidity);