Diff for Metafox/lib/Cache/Lite/Output.php between version 1.1 and 1.2
| version 1.1, 2005/06/05 12:14:04 |
version 1.2, 2005/11/07 20:37:21 |
| Line 37 class Cache_Lite_Output extends Cache_Li |
|
| Line 37 class Cache_Lite_Output extends Cache_Li |
|
| * |
* |
| * @param string $id cache id |
* @param string $id cache id |
| * @param string $group name of the cache group |
* @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) |
* @return boolean true if the cache is hit (false else) |
| * @access public |
* @access public |
| */ |
*/ |
| function start($id, $group = 'default') |
function start($id, $group = 'default', $doNotTestCacheValidity = false) |
| { |
{ |
| $data = $this->get($id, $group); |
$data = $this->get($id, $group, $doNotTestCacheValidity); |
| if ($data !== false) { |
if ($data !== false) { |
| echo($data); |
echo($data); |
| return true; |
return true; |
Platon Group <platon@platon.org> http://platon.org/
|
|