summaryrefslogtreecommitdiff
path: root/ext/xmlreader/xmlreader.stub.php
blob: 6608e60768e04ecfe8d6f9961d7ca2c36266a9d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?php

class XMLReader
{
    /** @return bool */
    function close() {}

    /** @return string|null|false */
    function getAttribute(string $name) {}

    /** @return ?string */
    function getAttributeNo(int $index) {}

    /** @return string|null|false */
    function getAttributeNs(string $name, string $namespaceURI) {}

    /** @return bool */
    function getParserProperty(int $property) {}

    /** @return bool */
    function isValid() {}

    /** @return string|null|false */
    function lookupNamespace(string $prefix) {}

    /** @return bool */
    function moveToAttribute(string $name) {}

    /** @return bool */
    function moveToAttributeNo(int $index) {}

    /** @return bool */
    function moveToAttributeNs(string $name, string $namespaceURI) {}

    /** @return bool */
    function moveToElement() {}

    /** @return bool */
    function moveToFirstAttribute() {}

    /** @return bool */
    function moveToNextAttribute() {}

    /** @return bool */
    function read() {}

    /** @return bool */
    function next(string $localname = UNKNOWN) {}

    /** @return bool|XMLReader */
    function open(string $URI, ?string $encoding = null, int $options = 0) {}

    /** @return string */
    function readInnerXml() {}

    /** @return string */
    function readOuterXml() {}

    /** @return string */
    function readString() {}

    /** @return bool */
    function setSchema(?string $filename) {}

    /** @return bool */
    function setParserProperty(int $property, bool $value) {}

    /** @return bool */
    function setRelaxNGSchema(?string $filename) {}

    /** @return bool */
    function setRelaxNGSchemaSource(?string $source) {}

    /** @return bool|XMLReader */
    function XML(string $source, ?string $encoding = null, int $options = 0) {}

    /** @return DOMNode|bool */
    function expand(?DOMNode $basenode = null) {}
}