You are here

public function FeedsOAIHTTPFetcher::configDefaults in Feeds OAI-PMH Fetcher and Parser 7

Same name and namespace in other branches
  1. 6 FeedsOAIHTTPFetcher.inc \FeedsOAIHTTPFetcher::configDefaults()

Declare defaults.

File

./FeedsOAIHTTPFetcher.inc, line 172

Class

FeedsOAIHTTPFetcher
Fetcher class for OAI-PMH repository webservices.

Code

public function configDefaults() {

  // TODO: is this needed?
  return array(
    'auto_detect_feeds' => FALSE,
    'use_pubsubhubbub' => FALSE,
    'last_fetched_timestamp' => '',
    'earliest_timestamp' => '',
    'use_dates' => FALSE,
    'to' => array(),
    'from' => array(),
  );
}