PHP Manual

  • English French German Portuguese Spanish
PHP Manual Function Reference XML Manipulation XMLReader XMLReader XMLReader::setParserProperty
XMLReader XMLReader::close XMLReader::expand XMLReader::getAttribute XMLReader::getAttributeNo XMLReader::getAttributeNs XMLReader::getParserProperty XMLReader::isValid XMLReader::lookupNamespace XMLReader::moveToAttribute XMLReader::moveToAttributeNo XMLReader::moveToAttributeNs XMLReader::moveToElement XMLReader::moveToFirstAttribute XMLReader::moveToNextAttribute XMLReader::next XMLReader::open XMLReader::read XMLReader::readInnerXML XMLReader::readOuterXML XMLReader::readString XMLReader::setParserProperty XMLReader::setRelaxNGSchema XMLReader::setRelaxNGSchemaSource XMLReader::setSchema XMLReader::XML
  • XMLReader::readString
  • XMLReader::setRelaxNGSchema

XMLReader::setParserProperty

(PHP 5 >= 5.1.0)

XMLReader::setParserProperty — Set parser options

Description

public bool XMLReader::setParserProperty ( int $property , bool $value )

Set parser options. The options must be set after XMLReader::open() or XMLReader::xml() are called and before the first XMLReader::read() call.

Parameters

property

One of the parser option constants.

value

If set to TRUE the option will be enabled otherwise will be disabled.

Return Values

Returns TRUE on success or FALSE on failure.

© Copyright © 2001-2015 The PHP Group.

© Copyright 2014. Diseñado por PHP Manual usando jfCMS.