You are here

public function FeedsFileFetcher::fetch in Feeds 6

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

Implementation of FeedsFetcher::fetch().

Overrides FeedsFetcher::fetch

File

plugins/FeedsFileFetcher.inc, line 49
Home of the FeedsFileFetcher and related classes.

Class

FeedsFileFetcher
Fetches data via HTTP.

Code

public function fetch(FeedsSource $source) {
  $source_config = $source
    ->getConfigFor($this);
  return new FeedsFileBatch($source_config['source'], $source->feed_nid);
}