protected function FeedsProcessor::existingItemId in Feeds 6
Same name and namespace in other branches
- 7 plugins/FeedsProcessor.inc \FeedsProcessor::existingItemId()
Retrieve the target item's existing id if available. Otherwise return 0.
Parameters
$batch: A FeedsImportBatch object.
FeedsSource $source: The source information about this import.
Related topics
5 methods override FeedsProcessor::existingItemId()
- FeedsDataProcessor::existingItemId in plugins/
FeedsDataProcessor.inc - Iterate through unique targets and try to load existing records. Return id for the first match.
- FeedsFeedNodeProcessor::existingItemId in plugins/
FeedsFeedNodeProcessor.inc - Get nid of an existing feed item node if available.
- FeedsNodeProcessor::existingItemId in plugins/
FeedsNodeProcessor.inc - Get nid of an existing feed item node if available.
- FeedsTermProcessor::existingItemId in plugins/
FeedsTermProcessor.inc - Get id of an existing feed item term if available.
- FeedsUserProcessor::existingItemId in plugins/
FeedsUserProcessor.inc - Get id of an existing feed item term if available.
File
- plugins/
FeedsProcessor.inc, line 213
Class
- FeedsProcessor
- Abstract class, defines interface for processors.
Code
protected function existingItemId(FeedsImportBatch $batch, FeedsSource $source) {
return 0;
}