protected function FeedsSimplePieParser::cacheDirectory in Feeds 7.2
Same name and namespace in other branches
- 6 plugins/FeedsSimplePieParser.inc \FeedsSimplePieParser::cacheDirectory()
- 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 - Implements FeedsParser::parse().
File
- plugins/
FeedsSimplePieParser.inc, line 230 - Contains FeedsSimplePieParser and related classes.
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;
}