/**
  * Constructor
  * For more info see {@link eZXMLInputParser::__construct()}
  *
  * @param int $validateErrorLevel
  * @param int $detectErrorLevel
  * @param bool $parseLineBreaks flag if line breaks should be given meaning or not
  * @param bool $removeDefaultAttrs signal if attributes of default value should not be saved.
  */
 function __construct($validateErrorLevel = eZXMLInputParser::ERROR_NONE, $detectErrorLevel = eZXMLInputParser::ERROR_NONE, $parseLineBreaks = false, $removeDefaultAttrs = false)
 {
     parent::__construct($validateErrorLevel, $detectErrorLevel, $parseLineBreaks, $removeDefaultAttrs);
     $ini = eZINI::instance('content.ini');
     if ($ini->hasVariable('header', 'AnchorAsAttribute')) {
         $this->anchorAsAttribute = $ini->variable('header', 'AnchorAsAttribute') !== 'disabled';
     }
 }
 function __construct($contentObjectID, $validateErrorLevel = eZXMLInputParser::ERROR_ALL, $detectErrorLevel = eZXMLInputParser::ERROR_ALL, $parseLineBreaks = false, $removeDefaultAttrs = false)
 {
     $this->contentObjectID = $contentObjectID;
     parent::__construct($validateErrorLevel, $detectErrorLevel, $parseLineBreaks, $removeDefaultAttrs);
 }