You are here

abstract protected function FeedsXPathParserBase::setup in Feeds XPath Parser 6

Same name and namespace in other branches
  1. 7 FeedsXPathParserBase.inc \FeedsXPathParserBase::setup()

Classes that use FeedsXPathParserBase must implement this.

Parameters

array $source_config: The configuration for the source.

FeedsFetcherResult $fetcher_result: A FeedsFetcherResult object.

Return value

DOMDocument The DOMDocument to perform XPath queries on.

1 call to FeedsXPathParserBase::setup()
FeedsXPathParserBase::parse in ./FeedsXPathParserBase.inc
Implements FeedsParser::parse().
2 methods override FeedsXPathParserBase::setup()
FeedsXPathParserHTML::setup in ./FeedsXPathParserHTML.inc
Implementation of FeedsXPathParserBase::setup().
FeedsXPathParserXML::setup in ./FeedsXPathParserXML.inc
Implementation of FeedsXPathParserBase::setup().

File

./FeedsXPathParserBase.inc, line 33
Provides the abstract base class for FeedsXPathParserHTML and FeedsXPathParserXML.

Class

FeedsXPathParserBase
Base class for the HTML and XML parsers.

Code

protected abstract function setup($source_config, FeedsImportBatch $batch);