function feeds_importer in Feeds 6
Same name and namespace in other branches
- 8.2 feeds.module \feeds_importer()
- 7.2 feeds.module \feeds_importer()
- 7 feeds.module \feeds_importer()
Gets an importer instance.
Parameters
$id: The unique id of the importer object.
Return value
A FeedsImporter object or an object of a class defined by the Drupal variable 'feeds_importer_class'. There is only one importer object per $id system-wide.
Related topics
7 calls to feeds_importer()
- FeedsFeedNodeProcessor::feedNodeImporter in plugins/
FeedsFeedNodeProcessor.inc - Helper for retrieving the importer object for the feed nodes to produce.
- FeedsSource::__construct in includes/
FeedsSource.inc - Constructor.
- feeds_importer_expire in ./
feeds.module - Scheduler callback for expiring content.
- feeds_importer_load in ./
feeds.module - Menu loader callback.
- feeds_importer_load_all in ./
feeds.module - Loads all importers.
9 string references to 'feeds_importer'
- FeedsImporter::load in includes/
FeedsImporter.inc - Load configuration and unpack.
- FeedsImporter::save in includes/
FeedsImporter.inc - Save configuration.
- feeds_cache_clear in ./
feeds.module - Resets importer caches. Call when enabling/disabling importers.
- feeds_export in ./
feeds.module - Exports a FeedsImporter configuration to code.
- feeds_importer_load_all in ./
feeds.module - Loads all importers.
File
- ./
feeds.module, line 707 - Feeds - basic API functions and hook implementations.
Code
function feeds_importer($id) {
feeds_include('FeedsImporter');
return FeedsConfigurable::instance(variable_get('feeds_importer_class', 'FeedsImporter'), $id);
}