You are here

public function FeedsFileFetcher::fetch in Feeds 7

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

Implements FeedsFetcher::fetch().

Overrides FeedsFetcher::fetch

File

plugins/FeedsFileFetcher.inc, line 47
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);
}