You are here

protected function FeedsSimplePieParser::cacheDirectory in Feeds 6

Same name and namespace in other branches
  1. 7.2 plugins/FeedsSimplePieParser.inc \FeedsSimplePieParser::cacheDirectory()
  2. 7 plugins/FeedsSimplePieParser.inc \FeedsSimplePieParser::cacheDirectory()

Returns cache directory. Creates it if it doesn't exist.

1 call to FeedsSimplePieParser::cacheDirectory()
FeedsSimplePieParser::parse in plugins/FeedsSimplePieParser.inc
Implementation of FeedsParser::parse().

File

plugins/FeedsSimplePieParser.inc, line 212

Class

FeedsSimplePieParser
Class definition for Common Syndication Parser.

Code

protected function cacheDirectory() {
  $directory = file_directory_path() . '/simplepie';
  file_check_directory($directory, TRUE);
  return $directory;
}