You are here

public function FeedsExHtml::__construct in Feeds extensible parsers 7

Same name and namespace in other branches
  1. 7.2 src/FeedsExHtml.inc \FeedsExHtml::__construct()

File

src/FeedsExHtml.inc, line 28
Contains FeedsExHtml.

Class

FeedsExHtml
Parses HTML documents with XPath.

Code

public function __construct($id) {
  parent::__construct($id);

  // DOMDocument::saveHTML() cannot take $node as an argument prior to 5.3.6.
  $this->useSaveHTML = version_compare(PHP_VERSION, '5.3.6', '>=');
}