You are here

public function FeedsHTTPCache::constructFilePath in Feeds 7.2

Constructs a file path for a certain cache ID.

Parameters

string $cid: The cache ID to construct a file path for.

Return value

string The constructed file path.

2 calls to FeedsHTTPCache::constructFilePath()
FeedsHTTPCache::deleteFile in includes/FeedsHTTPCache.inc
Deletes a file from the cache directory.
FeedsHTTPCache::saveFile in includes/FeedsHTTPCache.inc
Saves raw contents to a file in the cache directory.

File

includes/FeedsHTTPCache.inc, line 84
Contains FeedsHTTPCache class.

Class

FeedsHTTPCache
Cache implementation for the Feeds HTTP cache.

Code

public function constructFilePath($cid) {
  return $this
    ->getCacheDir() . '/' . $cid;
}