You are here

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

Same name and namespace in other branches
  1. 6 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
Classes that use FeedsXPathParserBase must implement this.
FeedsXPathParserXML::setup in ./FeedsXPathParserXML.inc
Classes that use FeedsXPathParserBase must implement this.

File

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

Class

FeedsXPathParserBase
Base class for the HTML and XML parsers.

Code

protected abstract function setup($source_config, FeedsFetcherResult $fetcher_result);