You are here

protected function ParserBase::errorStart in Feeds XPath Parser 8

Starts custom error handling.

Return value

bool The previous value of use_errors.

3 calls to ParserBase::errorStart()
ParserBase::validateForm in lib/Drupal/feeds_xpathparser/ParserBase.php
Form validation handler.
XPathHTMLParser::setup in lib/Drupal/feeds_xpathparser/Plugin/feeds/Parser/XPathHTMLParser.php
Classes that use ParserBase must implement this.
XPathXMLParser::setup in lib/Drupal/feeds_xpathparser/Plugin/feeds/Parser/XPathXMLParser.php
Classes that use ParserBase must implement this.

File

lib/Drupal/feeds_xpathparser/ParserBase.php, line 588
Contains \Drupal\feeds_xpathparser\ParserBase.

Class

ParserBase
Base class for the HTML and XML parsers.

Namespace

Drupal\feeds_xpathparser

Code

protected function errorStart() {
  libxml_clear_errors();
  return libxml_use_internal_errors(TRUE);
}