[Cache_Lite] element index

Package indexes

All elements
c e f g l o r s _
_
top
Variable $_automaticSerialization
Enable / disable automatic serialization
Variable $_cacheDir
Directory where to put the cache files (make sure to add a trailing slash)
Variable $_caching
Enable / disable caching
Variable $_defaultGroup
Default cache group for function caching
Variable $_file
Cache_Lite::$_file in Lite.php
File name (with path)
Variable $_fileLocking
Enable / disable fileLocking
Variable $_fileNameProtection
File Name protection
Variable $_group
Current cache group
Variable $_id
Cache_Lite::$_id in Lite.php
Current cache id
Variable $_lifeTime
Cache lifetime (in seconds)
Variable $_memoryCaching
Enable / Disable "Memory Caching"
Variable $_memoryCachingArray
Memory caching array
Variable $_memoryCachingCounter
Memory caching counter
Variable $_memoryCachingLimit
Memory caching limit
Variable $_onlyMemoryCaching
Enable / Disable "Only Memory Caching" (be carefull, memory caching is "beta quality")
Variable $_pearErrorMode
Pear error mode (when raiseError is called)
Variable $_readControl
Enable / disable read control
Variable $_readControlType
Type of read control (only if read control is enabled)
Variable $_refreshTime
Timestamp of the last valid cache
Variable $_writeControl
Enable / disable write control (the cache is read just after writing to detect corrupt entries)
Method _hash
Make a control key with the string containing datas
Method _memoryCacheAdd
Method _read
Read the cache file and return the content
Method _setFileName
Make a file name (with path)
Method _write
Write the given data in the cache file
Method _writeAndControl
Write the given data in the cache file and control it just after to avoir corrupted cache entries
c
top
Class Cache_Lite
Cache_Lite in Lite.php
Method Cache_Lite
Constructor
Constant CACHE_LITE_ERROR_DIE
Constant CACHE_LITE_ERROR_RETURN
Class Cache_Lite_Function
Cache_Lite_Function in Function.php
Method Cache_Lite_Function
Constructor
Method Cache_Lite_Output
Constructor
Class Cache_Lite_Output
Cache_Lite_Output in Output.php
Method call
Calls a cacheable function or method (or not if there is already a cache for it)
Method clean
Clean the cache
e
top
Method end
Stop the cache
f
top
Page Function.php
Function.php in Function.php
g
top
Method get
Cache_Lite::get() in Lite.php
Test if a cache is available and (if yes) return it
Method getMemoryCachingState
l
top
Method lastModified
Return the cache last modification time
Page Lite.php
Lite.php in Lite.php
o
top
Page Output.php
Output.php in Output.php
r
top
Method raiseError
Trigger a PEAR error
Method remove
Remove a cache file
s
top
Method save
Cache_Lite::save() in Lite.php
Save some data in a cache file
Method saveMemoryCachingState
Method setLifeTime
Set a new life time
Method setToDebug
Set to debug mode
Method start
Start the cache
c e f g l o r s _