Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Cache_Lite

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class Cache_Lite_Output

Description

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

Located in /pear/cache/lite/Output.php (line 20)

Class Cache_Lite

Class Cache_Lite_Output
Method Summary
Constructor Cache_Lite_Output Cache_Lite_Output (array $options)
Method void end ()
Method boolean start (string $id, [string $group = 'default'], [boolean $doNotTestCacheValidity = false])
Methods
Constructor Cache_Lite_Output (line 34)

Constructor

$options is an assoc. To have a look at availables options, see the constructor of the Cache_Lite class in 'Cache_Lite.php'

  • access: public
Cache_Lite_Output Cache_Lite_Output (array $options)
  • array $options: options
end (line 65)

Stop the cache

  • access: public
void end ()
start (line 48)

Start the cache

  • return: true if the cache is hit (false else)
  • access: public
boolean start (string $id, [string $group = 'default'], [boolean $doNotTestCacheValidity = false])
  • string $id: cache id
  • string $group: name of the cache group
  • boolean $doNotTestCacheValidity: if set to true, the cache validity won't be tested

Inherited Methods

Inherited From Cache_Lite

 Cache_Lite::Cache_Lite()
 Cache_Lite::clean()
 Cache_Lite::extendLife()
 Cache_Lite::get()
 Cache_Lite::getMemoryCachingState()
 Cache_Lite::lastModified()
 Cache_Lite::raiseError()
 Cache_Lite::remove()
 Cache_Lite::save()
 Cache_Lite::saveMemoryCachingState()
 Cache_Lite::setLifeTime()
 Cache_Lite::setOption()
 Cache_Lite::setToDebug()

Documentation generated on Mon, 05 Mar 2007 21:12:21 +0000 by phpDocumentor 1.3.1