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

Class: Cache_Lite_NestedOutput

Source Location: /Cache_Lite-1.8.3/Cache/Lite/NestedOutput.php

Class Overview

Cache_Lite
   |
   --Cache_Lite_Output
      |
      --Cache_Lite_NestedOutput



Methods


Inherited Variables

Inherited Methods

Class: Cache_Lite_Output

Cache_Lite_Output::__construct()
Constructor
Cache_Lite_Output::Cache_Lite_Output()
PHP4 constructor for backwards compatibility with older code
Cache_Lite_Output::end()
Stop the cache
Cache_Lite_Output::start()
Start the cache

Class: Cache_Lite

Cache_Lite::Cache_Lite()
PHP4 constructor for backwards compatibility with older code
Cache_Lite::__construct()
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 13]


[ Top ]


Method Detail

end   [line 46]

string end( boolen 0)

Stop the cache
  • Return: return contents of cache

Overrides Cache_Lite_Output::end() (Stop the cache)

Parameters:

boolen   0   — 

[ Top ]

start   [line 27]

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

Start the cache
  • Return: false if the cache is not hit else the data
  • Access: public

Overrides Cache_Lite_Output::start() (Start the cache)

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 Tue, 19 Nov 2019 16:31:06 -0500 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.