You are here

abstract public function FeedsFetcher::fetch in Feeds 7.2

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

Fetch content from a source and return it.

Every class that extends FeedsFetcher must implement this method.

Parameters

$source: Source value as entered by user through sourceForm().

Return value

A FeedsFetcherResult object.

2 methods override FeedsFetcher::fetch()
FeedsFileFetcher::fetch in plugins/FeedsFileFetcher.inc
Implements FeedsFetcher::fetch().
FeedsHTTPFetcher::fetch in plugins/FeedsHTTPFetcher.inc
Implements FeedsFetcher::fetch().

File

plugins/FeedsFetcher.inc, line 314
Contains the FeedsFetcher and related classes.

Class

FeedsFetcher
Abstract class, defines shared functionality between fetchers.

Code

public abstract function fetch(FeedsSource $source);