Implements interfaces:
Located in /Cache/Backend/Static.php (line 39)
Zend_Cache_Backend | --Zend_Cache_Backend_Static
Static backend options
Cache for handling tags
Tagged items
Inherited from Zend_Cache_Backend
Zend_Cache_Backend::$_directives
Validate a cache id or a tag (security, reliable filenames, reserved prefixes...)
Throw an exception if a problem is found
Clean some cache records
Available modes are : Zend_Cache::CLEANING_MODE_ALL (default) => remove all cache entries ($tags is not used) Zend_Cache::CLEANING_MODE_OLD => remove too old cache entries ($tags is not used) Zend_Cache::CLEANING_MODE_MATCHING_TAG => remove cache entries matching all given tags ($tags can be an array of strings or a single string) Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG => remove cache entries not {matching one of the given tags} ($tags can be an array of strings or a single string) Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG => remove cache entries matching any given tags ($tags can be an array of strings or a single string)
Retrieve any option via interception of the parent's statically held options including the local option for a tag cache.
Test if a cache is available for the given id and (if yes) return it (false else)
Note : return value is always "string" (unserialization is done by the core not by the backend)
Remove a cache record
Remove a cache record recursively for the given directory matching a REQUEST_URI based relative path (deletes the actual file matching this in addition to the matching directory)
Save some string datas into a cache record
Note : $data is always "string" (serialization is done by the core not by the backend)
Set an Inner Cache, used here primarily to store Tags associated with caches created by this backend. Note: If Tags are lost, the cache should be completely cleaned as the mapping of tags to caches will have been irrevocably lost.
Interceptor child method to handle the case where an Inner Cache object is being set since it's not supported by the standard backend interface
Test if a cache is available or not (for the given id)
Recursively create the directories needed to write the static file
Decode a request URI from the provided ID
Determine the page to save from the request
Detect serialization of data (cannot predict since this is the only way to obey the interface yet pass in another parameter).
In future, ZF 2.0, check if we can just avoid the interface restraints.
This format is the only valid one possible for the class, so it's simple to just run a regular expression for the starting serialized format.
Detect an octal string and return its octal value for file permission ops otherwise return the non-string (assumed octal or decimal int already)
Verify path exists and is non-empty
Inherited From Zend_Cache_Backend
Zend_Cache_Backend::__construct()
Zend_Cache_Backend::getLifetime()
Zend_Cache_Backend::getTmpDir()
Zend_Cache_Backend::isAutomaticCleaningAvailable()
Zend_Cache_Backend::setDirectives()
Zend_Cache_Backend::setOption()
Zend_Cache_Backend::_isGoodTmpDir()
Zend_Cache_Backend::_log()
Zend_Cache_Backend::_loggerSanity()
Documentation generated on Mon, 21 Jun 2010 15:46:39 -0400 by phpDocumentor 1.4.3