summaryrefslogtreecommitdiff
path: root/ext/xmlreader/xmlreader.stub.php
blob: 151043075583160c20af72205d905a8ce9f5a2fb (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
<?php

class XMLReader
{
    function close(): bool {}

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

    function getAttributeNo(int $index): ?string {}

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

    function getParserProperty(int $property): bool {}

    function isValid(): bool {}

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

    function moveToAttribute(string $name): bool {}

    function moveToAttributeNo(int $index): bool {}

    function moveToAttributeNs(string $name, string $namespaceURI): bool {}

    function moveToElement(): bool {}

    function moveToFirstAttribute(): bool {}

    function moveToNextAttribute(): bool {}

    function read(): bool {}

    function next(string $localname = UNKNOWN): bool {}

    function open(string $URI, ?string $encoding = null, int $options = 0): bool {}

    function readInnerXml(): string {}

    function readOuterXml(): string {}

    function readString(): string {}

    function setSchema(?string $filename) {}

    function setParserProperty(int $property, bool $value): bool {}

    function setRelaxNGSchema(?string $filename): bool {}

    function setRelaxNGSchemaSource(?string $source): bool {}

    function XML(string $source, ?string $encoding = null, int $options = 0): bool {}

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