forked from php/php-src
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxmlwriter.stub.php
172 lines (88 loc) · 6.14 KB
/
xmlwriter.stub.php
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<?php
function xmlwriter_open_uri(string $uri): XMLWriter|false {}
function xmlwriter_open_memory(): XMLWriter|false {}
function xmlwriter_set_indent(XMLWriter $xmlwriter, bool $indent): bool {}
function xmlwriter_set_indent_string(XMLWriter $xmlwriter, string $indentString): bool {}
function xmlwriter_start_comment(XMLWriter $xmlwriter): bool {}
function xmlwriter_end_comment(XMLWriter $xmlwriter): bool {}
function xmlwriter_start_attribute(XMLWriter $xmlwriter, string $name): bool {}
function xmlwriter_end_attribute(XMLWriter $xmlwriter): bool {}
function xmlwriter_write_attribute(XMLWriter $xmlwriter, string $name, string $value): bool {}
function xmlwriter_start_attribute_ns(XMLWriter $xmlwriter, string $prefix, string $name, ?string $uri): bool {}
function xmlwriter_write_attribute_ns(XMLWriter $xmlwriter, string $prefix, string $name, ?string $uri, string $content): bool {}
function xmlwriter_start_element(XMLWriter $xmlwriter, string $name): bool {}
function xmlwriter_end_element(XMLWriter $xmlwriter): bool {}
function xmlwriter_full_end_element(XMLWriter $xmlwriter): bool {}
function xmlwriter_start_element_ns(XMLWriter $xmlwriter, ?string $prefix, string $name, ?string $uri): bool {}
function xmlwriter_write_element(XMLWriter $xmlwriter, string $name, ?string $content = null): bool {}
function xmlwriter_write_element_ns(XMLWriter $xmlwriter, ?string $prefix, string $name, ?string $uri, ?string $content = null): bool {}
function xmlwriter_start_pi(XMLWriter $xmlwriter, string $target): bool {}
function xmlwriter_end_pi(XMLWriter $xmlwriter): bool {}
function xmlwriter_write_pi(XMLWriter $xmlwriter, string $target, string $content): bool {}
function xmlwriter_start_cdata(XMLWriter $xmlwriter): bool {}
function xmlwriter_end_cdata(XMLWriter $xmlwriter): bool {}
function xmlwriter_write_cdata(XMLWriter $xmlwriter, string $content): bool {}
function xmlwriter_text(XMLWriter $xmlwriter, string $content): bool {}
function xmlwriter_write_raw(XMLWriter $xmlwriter, string $content): bool {}
function xmlwriter_start_document(XMLWriter $xmlwriter, ?string $version = '1.0', ?string $encoding = null, ?string $standalone = null) {}
function xmlwriter_end_document(XMLWriter $xmlwriter): bool {}
function xmlwriter_write_comment(XMLWriter $xmlwriter, string $content): bool {}
function xmlwriter_start_dtd(XMLWriter $xmlwriter, string $qualifiedName, ?string $publicId = null, ?string $systemId = null): bool {}
function xmlwriter_end_dtd(XMLWriter $xmlwriter): bool {}
function xmlwriter_write_dtd(XMLWriter $xmlwriter, string $name, ?string $publicId = null, ?string $systemId = null, ?string $subset = null): bool {}
function xmlwriter_start_dtd_element(XMLWriter $xmlwriter, string $qualifiedName): bool {}
function xmlwriter_end_dtd_element(XMLWriter $xmlwriter): bool {}
function xmlwriter_write_dtd_element(XMLWriter $xmlwriter, string $name, string $content): bool {}
function xmlwriter_start_dtd_attlist(XMLWriter $xmlwriter, string $name): bool {}
function xmlwriter_end_dtd_attlist(XMLWriter $xmlwriter): bool {}
function xmlwriter_write_dtd_attlist(XMLWriter $xmlwriter, string $name, string $content): bool {}
function xmlwriter_start_dtd_entity(XMLWriter $xmlwriter, string $name, bool $isparam): bool {}
function xmlwriter_end_dtd_entity(XMLWriter $xmlwriter): bool {}
function xmlwriter_write_dtd_entity(XMLWriter $xmlwriter, string $name, string $content, bool $isparam = false, string $publicId = UNKNOWN, string $systemId = UNKNOWN, string $ndataid = UNKNOWN): bool {}
function xmlwriter_output_memory(XMLWriter $xmlwriter, bool $flush = true): string {}
function xmlwriter_flush(XMLWriter $xmlwriter, bool $empty = true): string|int {}
class XMLWriter
{
function openUri(string $uri): bool {}
function openMemory(): bool {}
function setIndent(bool $indent): bool {}
function setIdentString(string $indentString): bool {}
function startComment(): bool {}
function endComment(): bool {}
function startAttribute(string $name): bool {}
function endAttribute(): bool {}
function writeAttribute(string $name, string $value): bool {}
function startAttributeNs(string $prefix, string $name, ?string $uri): bool {}
function writeAttributeNs(string $prefix, string $name, ?string $uri, string $content): bool {}
function startElement(string $name): bool {}
function endElement(): bool {}
function fullEndElement(): bool {}
function startElementNs(?string $prefix, string $name, ?string $uri): bool {}
function writeElement(string $name, ?string $content = null): bool {}
function writeElementNs(?string $prefix, string $name, ?string $uri, ?string $content = null): bool {}
function startPi(string $target): bool {}
function endPi(): bool {}
function writePi(string $target, string $content): bool {}
function startCdata(): bool {}
function endCdata(): bool {}
function writeCdata(string $content): bool {}
function text(string $content): bool {}
function writeRaw(string $content): bool {}
function startDocument(?string $version = '1.0', ?string $encoding = null, ?string $standalone = null): bool {}
function endDocument(): bool {}
function writeComment(string $content): bool {}
function startDtd(string $qualifiedName, ?string $publicId = null, ?string $systemId = null): bool {}
function endDtd(): bool {}
function writeDtd(string $name, ?string $publicId = null, ?string $systemId = null, ?string $subset = null): bool {}
function startDtdElement(string $qualifiedName): bool {}
function endDtdElement(): bool {}
function writeDtdElement(string $name, string $content): bool {}
function startDtdAttlist(string $name): bool {}
function endDtdAttlist(): bool {}
function writeDtdAttlist(string $name, string $content): bool {}
function startDtdEntity(string $name, bool $isparam): bool {}
function endDtdEntity(): bool {}
function writeDtdEntity(string $name, string $content, bool $isparam, string $publicId = UNKNOWN, string $systemId = UNKNOWN, string $ndataid = UNKNOWN): bool {}
function outputMemory(bool $flush = true): string {}
function flush(bool $empty = true): string|int {}
}