You are here

function feeds_simplepie_exists in Feeds 7.2

Same name and namespace in other branches
  1. 8.2 feeds.module \feeds_simplepie_exists()

Checks whether simplepie exists.

Related topics

4 calls to feeds_simplepie_exists()
FeedsMapperFileTestCase::requireSimplePie in tests/feeds_mapper_file.test
Checks if SimplePie is available and eventually downloads it.
FeedsSyndicationParserTestCase::test in tests/feeds_parser_syndication.test
Run tests.
feeds_requirements in ./feeds.install
Implements hook_requirements().
_feeds_feeds_plugins in ./feeds.plugins.inc
Break out for feeds_feed_plugins().

File

./feeds.module, line 1408
Feeds - basic API functions and hook implementations.

Code

function feeds_simplepie_exists() {
  return feeds_library_exists('autoloader.php', 'simplepie') || feeds_library_exists('simplepie.compiled.php', 'simplepie') || feeds_library_exists('simplepie.mini.php', 'simplepie') || feeds_library_exists('simplepie.inc', 'simplepie');
}