You are here

protected function FeedsSimplePieParser::cacheDirectory in Feeds 7

Same name and namespace in other branches
  1. 6 plugins/FeedsSimplePieParser.inc \FeedsSimplePieParser::cacheDirectory()
  2. 7.2 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
Implements FeedsParser::parse().

File

plugins/FeedsSimplePieParser.inc, line 212

Class

FeedsSimplePieParser
Class definition for Common Syndication Parser.

Code

protected function cacheDirectory() {
  $directory = 'public://simplepie';
  file_prepare_directory($dir, FILE_CREATE_DIRECTORY | FILE_MODIFY_PERMISSIONS);
  return $directory;
}