You are here

protected function FeedsProcessor::existingItemId in Feeds 7

Same name and namespace in other branches
  1. 6 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

4 methods override FeedsProcessor::existingItemId()
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 203

Class

FeedsProcessor
Abstract class, defines interface for processors.

Code

protected function existingItemId(FeedsImportBatch $batch, FeedsSource $source) {
  return 0;
}