public function FeedsHTTPFetcher::importPeriod in Feeds 7
Same name and namespace in other branches
- 6 plugins/FeedsHTTPFetcher.inc \FeedsHTTPFetcher::importPeriod()
- 7.2 plugins/FeedsHTTPFetcher.inc \FeedsHTTPFetcher::importPeriod()
Implement FeedsFetcher::importPeriod().
Overrides FeedsFetcher::importPeriod
File
- plugins/
FeedsHTTPFetcher.inc, line 197
Class
- FeedsHTTPFetcher
- Fetches data via HTTP.
Code
public function importPeriod(FeedsSource $source) {
if ($this
->subscriber($source->feed_nid)
->subscribed()) {
return 259200;
// Delay for three days if there is a successful subscription.
}
}