Zend_Cache_Backend_FileImplements interfaces:
Located in /Cache/Backend/File.php (line 40)
Zend_Cache_Backend | --Zend_Cache_Backend_File
boolean
_clean
(string $dir, [string $mode = Zend_Cache::CLEANING_MODE_ALL], [array $tags = array()])
array
$_metadatasArray
= array() (line 107)
Array of metadatas (each item is an associative array)
array
$_options
= 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 __construct (line 117)
Constructor
clean (line 284)
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)
getCapabilities (line 440)
Return an associative array of capabilities (booleans) of the backend
The array must include these keys :
getFillingPercentage (line 356)
Return the filling percentage of the backend storage
getIds (line 296)
Return an array of stored cache ids
getIdsMatchingAnyTags (line 345)
Return an array of stored cache ids which match any given tags
In case of multiple tags, a logical AND is made between tags
getIdsMatchingTags (line 319)
Return an array of stored cache ids which match given tags
In case of multiple tags, a logical AND is made between tags
getIdsNotMatchingTags (line 332)
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
getMetadatas (line 381)
Return an array of metadatas for the given cache id
The array must include these keys :
getTags (line 306)
Return an array of stored tags
load (line 173)
Test if a cache is available for the given id and (if yes) return it (false else)
remove (line 259)
Remove a cache record
save (line 219)
Save some string datas into a cache record
Note : $data is always "string" (serialization is done by the core not by the backend)
setCacheDir (line 151)
Set the cache_dir (particular case of setOption() method)
test (line 201)
Test if a cache is available or not (for the given id)
touch (line 404)
Give (if possible) an extra lifetime to the given cache id
_clean (line 641)
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)
_cleanMetadatas (line 532)
Clear the metadatas array
_delMetadatas (line 518)
Drop a metadata record
_expireTime (line 823)
Compute & return the expire time
_file (line 874)
Make and return a file name (with path)
_fileGetContents (line 953)
Return the file content of the given file
_fileNameToId (line 1000)
Transform a file name into cache id and return it
_filePutContents (line 976)
Put the given string into the given file
_get (line 734)
_getMetadatas (line 474)
Get a metadatas record
_hash (line 839)
Make a control key with the string containing datas
_idToFileName (line 861)
Transform a cache id into a file name and return it
_isMetadatasFile (line 590)
Check if the given filename is a metadatas one
_loadMetadatas (line 543)
Load metadatas from disk
_metadatasFile (line 577)
Make and return a file name (with path) for metadatas
_path (line 888)
Return the complete directory path of a filename (including hashedDirectoryStructure)
_recursiveMkdirAndChmod (line 913)
Make the directory strucuture for the given id
_remove (line 609)
Remove a file
If we can't remove the file (because of locks or any problem), we will touch the file to invalidate it
_saveMetadatas (line 561)
Save metadatas to disk
_setMetadatas (line 496)
Set a metadatas record
_test (line 935)
Test if the given cache id is available (and still valid as a cache record)
___expire (line 459)
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