Implements interfaces:
Located in /Cache/Backend/File.php (line 40)
Zend_Cache_Backend | --Zend_Cache_Backend_File
Array of metadatas (each item is an associative array)
Available options
=====> (string) cache_dir :
=====> (boolean) read_control :
=====> (string) read_control_type :
=====> (int) hashed_directory_umask :
Inherited from Zend_Cache_Backend
Zend_Cache_Backend::$_directives
Constructor
Clean some cache records
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)
Return an associative array of capabilities (booleans) of the backend
The array must include these keys :
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 AND 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 must include these keys :
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 record
Save some string datas into a cache record
Note : $data is always "string" (serialization is done by the core not by the backend)
Set the cache_dir (particular case of setOption() method)
Test if a cache is available or not (for the given id)
Give (if possible) an extra lifetime to the given cache id
Clean some cache records (protected method used for recursive stuff)
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)
Clear the metadatas array
Drop a metadata record
Compute & return the expire time
Make and return a file name (with path)
Return the file content of the given file
Transform a file name into cache id and return it
Put the given string into the given file
Get a metadatas record
Make a control key with the string containing datas
Transform a cache id into a file name and return it
Check if the given filename is a metadatas one
Load metadatas from disk
Make and return a file name (with path) for metadatas
Return the complete directory path of a filename (including hashedDirectoryStructure)
Make the directory strucuture for the given id
Remove a file
If we can't remove the file (because of locks or any problem), we will touch the file to invalidate it
Save metadatas to disk
Set a metadatas record
Test if the given cache id is available (and still valid as a cache record)
PUBLIC METHOD FOR UNIT TESTING ONLY !
Force a cache record to expire
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:23:18 -0400 by phpDocumentor 1.4.3