Located in /Cache/Core.php (line 28)
Array of options which have to be transfered to backend
Backend Object
Array of capabilities of the backend (only if it implements Zend_Cache_Backend_ExtendedInterface)
True if the backend implements Zend_Cache_Backend_ExtendedInterface
Available options
====> (boolean) write_control :
====> (boolean) caching :
=====> (string) cache_id_prefix :
Not used for the core, just a sort a hint to get a common setOption() method (for the core and for frontends)
Validate a cache id or a tag (security, reliable filenames, reserved prefixes...)
Throw an exception if a problem is found
Validate a tags array (security, reliable filenames, reserved prefixes...)
Throw an exception if a problem is found
Constructor
Clean cache entries
Available modes are : 'all' (default) => remove all cache entries ($tags is not used) 'old' => remove too old cache entries ($tags is not used) 'matchingTag' => remove cache entries matching all given tags ($tags can be an array of strings or a single string) 'notMatchingTag' => remove cache entries not matching one of the given tags ($tags can be an array of strings or a single string) 'matchingAnyTag' => remove cache entries matching any given tags ($tags can be an array of strings or a single string)
Returns the backend
Return the filling percentage of the backend storage
Return an array of stored cache ids
Return an array of stored cache ids which match any given tags
In case of multiple tags, a logical OR is made between tags
Return an array of stored cache ids which match given tags
In case of multiple tags, a logical AND is made between tags
Return an array of stored cache ids which don't match given tags
In case of multiple tags, a logical OR is made between tags
Return an array of metadatas for the given cache id
The array will include these keys :
Public frontend to get an option value
Return an array of stored tags
Test if a cache is available for the given id and (if yes) return it (false else)
Remove a cache
Save some data in a cache
Set the backend
Force a new lifetime
The new value is set for the core/frontend but for the backend too (directive)
Public frontend to set an option
There is an additional validation (relatively to the protected _setOption method)
Test if a cache is available for the given id
Give (if possible) an extra lifetime to the given cache id
Make and return a cache id
Checks 'cache_id_prefix' and returns new id with prefix or simply the id if null
Log a message at the WARN (4) priority.
Make sure if we enable logging that the Zend_Log class is available.
Create a default log object if none is set.
Documentation generated on Mon, 21 Jun 2010 15:14:24 -0400 by phpDocumentor 1.4.3