TRUE on success or FALSE on failure. * @since 5.1.2 */ public function close () {} /** * Get the value of a named attribute * @link https://php.net/manual/en/xmlreader.getattribute.php * @param string $name

* The name of the attribute. *

* @return string The value of the attribute, or NULL if no attribute with the given * name is found or not positioned on an element node. * @since 5.1.2 */ public function getAttribute ($name) {} /** * Get the value of an attribute by index * @link https://php.net/manual/en/xmlreader.getattributeno.php * @param int $index

* The position of the attribute. *

* @return string|null The value of the attribute, or NULL if no attribute exists * at index or not positioned of element. * @since 5.1.2 */ public function getAttributeNo ($index) {} /** * Get the value of an attribute by localname and URI * @link https://php.net/manual/en/xmlreader.getattributens.php * @param string $name

* The local name. *

* @param string $namespace

* The namespace URI. *

* @return string|null The value of the attribute, or NULL if no attribute with the * given localName and * namespaceURI is found or not positioned of element. * @since 5.1.2 */ public function getAttributeNs ($name, $namespace) {} /** * Indicates if specified property has been set * @link https://php.net/manual/en/xmlreader.getparserproperty.php * @param int $property

* One of the parser option * constants. *

* @return bool TRUE on success or FALSE on failure. * @since 5.1.2 */ public function getParserProperty ($property) {} /** * Indicates if the parsed document is valid * @link https://php.net/manual/en/xmlreader.isvalid.php * @return bool TRUE on success or FALSE on failure. * @since 5.1.2 */ public function isValid () {} /** * Lookup namespace for a prefix * @link https://php.net/manual/en/xmlreader.lookupnamespace.php * @param string $prefix

* String containing the prefix. *

* @return bool TRUE on success or FALSE on failure. * @since 5.1.2 */ public function lookupNamespace ($prefix) {} /** * Move cursor to an attribute by index * @link https://php.net/manual/en/xmlreader.movetoattributeno.php * @param int $index

* The position of the attribute. *

* @return bool TRUE on success or FALSE on failure. * @since 5.1.2 */ public function moveToAttributeNo ($index) {} /** * Move cursor to a named attribute * @link https://php.net/manual/en/xmlreader.movetoattribute.php * @param string $name

* The name of the attribute. *

* @return bool TRUE on success or FALSE on failure. * @since 5.1.2 */ public function moveToAttribute ($name) {} /** * Move cursor to a named attribute * @link https://php.net/manual/en/xmlreader.movetoattributens.php * @param string $name

* The local name. *

* @param string $namespace

* The namespace URI. *

* @return bool TRUE on success or FALSE on failure. * @since 5.1.2 */ public function moveToAttributeNs ($name, $namespace) {} /** * Position cursor on the parent Element of current Attribute * @link https://php.net/manual/en/xmlreader.movetoelement.php * @return bool TRUE if successful and FALSE if it fails or not positioned on * Attribute when this method is called. * @since 5.1.2 */ public function moveToElement () {} /** * Position cursor on the first Attribute * @link https://php.net/manual/en/xmlreader.movetofirstattribute.php * @return bool TRUE on success or FALSE on failure. * @since 5.1.2 */ public function moveToFirstAttribute () {} /** * Position cursor on the next Attribute * @link https://php.net/manual/en/xmlreader.movetonextattribute.php * @return bool TRUE on success or FALSE on failure. * @since 5.1.2 */ public function moveToNextAttribute () {} /** * Set the URI containing the XML to parse * @link https://php.net/manual/en/xmlreader.open.php * @param string $uri

* URI pointing to the document. *

* @param string $encoding [optional]

* The document encoding or NULL. *

* @param int $flags [optional]

* A bitmask of the LIBXML_* * constants. *

* @return bool TRUE on success or FALSE on failure. If called statically, returns an * XMLReader or FALSE on failure. * @since 5.1.2 */ public static function open ($uri, $encoding = null, $flags = 0) {} /** * Move to next node in document * @link https://php.net/manual/en/xmlreader.read.php * @return bool TRUE on success or FALSE on failure. * @since 5.1.2 */ public function read () {} /** * Move cursor to next node skipping all subtrees * @link https://php.net/manual/en/xmlreader.next.php * @param string $name [optional]

* The name of the next node to move to. *

* @return bool TRUE on success or FALSE on failure. * @since 5.1.2 */ public function next ($name = null) {} /** * Retrieve XML from current node * @link https://php.net/manual/en/xmlreader.readinnerxml.php * @return string the contents of the current node as a string. Empty string on failure. */ public function readInnerXml () {} /** * Retrieve XML from current node, including it self * @link https://php.net/manual/en/xmlreader.readouterxml.php * @return string the contents of current node, including itself, as a string. Empty string on failure. */ public function readOuterXml () {} /** * Reads the contents of the current node as a string * @link https://php.net/manual/en/xmlreader.readstring.php * @return string the content of the current node as a string. Empty string on * failure. */ public function readString () {} /** * Validate document against XSD * @link https://php.net/manual/en/xmlreader.setschema.php * @param string $filename

* The filename of the XSD schema. *

* @return bool TRUE on success or FALSE on failure. */ public function setSchema ($filename) {} /** * Set parser options * @link https://php.net/manual/en/xmlreader.setparserproperty.php * @param int $property

* One of the parser option * constants. *

* @param bool $value

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

* @return bool TRUE on success or FALSE on failure. * @since 5.1.2 */ public function setParserProperty ($property, $value) {} /** * Set the filename or URI for a RelaxNG Schema * @link https://php.net/manual/en/xmlreader.setrelaxngschema.php * @param string $filename

* filename or URI pointing to a RelaxNG Schema. *

* @return bool TRUE on success or FALSE on failure. */ public function setRelaxNGSchema ($filename) {} /** * Set the data containing a RelaxNG Schema * @link https://php.net/manual/en/xmlreader.setrelaxngschemasource.php * @param string $source

* String containing the RelaxNG Schema. *

* @return bool TRUE on success or FALSE on failure. * @since 5.1.2 */ public function setRelaxNGSchemaSource ($source) {} /** * Set the data containing the XML to parse * @link https://php.net/manual/en/xmlreader.xml.php * @param string $source

* String containing the XML to be parsed. *

* @param string $encoding [optional]

* The document encoding or NULL. *

* @param int $flags [optional]

* A bitmask of the LIBXML_* * constants. *

* @return bool TRUE on success or FALSE on failure. If called statically, returns an * XMLReader or FALSE on failure. * @since 5.1.2 */ public static function XML ($source, $encoding = null, $flags = 0) {} /** * Returns a copy of the current node as a DOM object * @link https://php.net/manual/en/xmlreader.expand.php * @param DOMNode $baseNode [optional] * @return DOMNode|false The resulting DOMNode or FALSE on error. * @since 5.1.2 */ public function expand (DOMNode $baseNode = null) {} } // End of xmlreader v.0.2