Source code for file /joomla/cache/handlers/output.php
Documentation is available at output.php
* @version $Id: output.php 6472 2007-02-03 10:47:26Z pasamio $
* @package Joomla.Framework
* @copyright Copyright (C) 2005 - 2007 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
// Check to ensure this file is within the rest of the framework
* Joomla! Cache output type object
* @package Joomla.Framework
* @param string $id The cache data id
* @param string $group The cache data group
* @return boolean True if the cache is hit (false else)
function start( $id, $group=
null)
// If we have data in cache use that...
$data =
$this->get($id, $group);
// Nothing in cache... lets start the output buffer and start collecting data for next time.
// Set id and group placeholders
* Stop the cache buffer and store the cached data
* @return boolean True if cache stored
// Get data from output buffer and echo it
// Get id and group and reset them placeholders
// Get the storage handler and store the cached data
$this->store($data, $id, $group);