You are here

abstract public function FeedsProcessor::clear in Feeds 6

Same name and namespace in other branches
  1. 7.2 plugins/FeedsProcessor.inc \FeedsProcessor::clear()
  2. 7 plugins/FeedsProcessor.inc \FeedsProcessor::clear()

Remove all stored results or stored results up to a certain time for this configuration/this source.

Parameters

FeedsBatch $batch: A FeedsBatch object for tracking information such as how many items have been deleted total between page loads.

FeedsSource $source: Source information for this expiry. Implementers should only delete items pertaining to this source. The preferred way of determining whether an item pertains to a certain souce is by using $source->feed_nid. It is the processor's responsibility to store the feed_nid of an imported item in the processing stage.

5 methods override FeedsProcessor::clear()
FeedsDataProcessor::clear in plugins/FeedsDataProcessor.inc
Implementation of FeedsProcessor::clear().
FeedsFeedNodeProcessor::clear in plugins/FeedsFeedNodeProcessor.inc
Implementation of FeedsProcessor::clear().
FeedsNodeProcessor::clear in plugins/FeedsNodeProcessor.inc
Implementation of FeedsProcessor::clear().
FeedsTermProcessor::clear in plugins/FeedsTermProcessor.inc
Implementation of FeedsProcessor::clear().
FeedsUserProcessor::clear in plugins/FeedsUserProcessor.inc
Implementation of FeedsProcessor::clear().

File

plugins/FeedsProcessor.inc, line 39

Class

FeedsProcessor
Abstract class, defines interface for processors.

Code

public abstract function clear(FeedsBatch $batch, FeedsSource $source);