Cache_Lite
[ class tree: Cache_Lite ] [ index: Cache_Lite ] [ all elements ]

Class: Cache_Lite_Output

Source Location: /pear/Cache/Lite/Output.php

Class Overview

Cache_Lite
   |
   --Cache_Lite_Output



Methods


Inherited Variables

Inherited Methods

Class: Cache_Lite

Cache_Lite::Cache_Lite()
Constructor
Cache_Lite::clean()
Clean the cache
Cache_Lite::extendLife()
Extend the life of a valid cache file
Cache_Lite::get()
Test if a cache is available and (if yes) return it
Cache_Lite::getMemoryCachingState()
Load the state of the caching memory array from a given cache file cache
Cache_Lite::lastModified()
Return the cache last modification time
Cache_Lite::raiseError()
Trigger a PEAR error
Cache_Lite::remove()
Remove a cache file
Cache_Lite::save()
Save some data in a cache file
Cache_Lite::saveMemoryCachingState()
Save the state of the caching memory array into a cache file cache
Cache_Lite::setLifeTime()
Set a new life time
Cache_Lite::setOption()
Generic way to set a Cache_Lite option
Cache_Lite::setToDebug()
Set to debug mode

Class Details

[line 16]


[ Top ]


Class Methods


constructor Cache_Lite_Output [line 30]

Cache_Lite_Output Cache_Lite_Output( array $options)

Constructor

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




Tags:

access:  public


Parameters:

array   $options   options

[ Top ]

method end [line 61]

void end( )

Stop the cache



Tags:

access:  public


[ Top ]

method start [line 44]

boolean start( string $id, [string $group = 'default'], [boolean $doNotTestCacheValidity = false])

Start the cache



Tags:

return:  true if the cache is hit (false else)
access:  public


Parameters:

string   $id   cache id
string   $group   name of the cache group
boolean   $doNotTestCacheValidity   if set to true, the cache validity won't be tested

[ Top ]


Documentation generated on Sun, 08 Jan 2012 17:51:56 +0100 by phpDocumentor 1.4.3