1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: fcc388de55bd6d21530d16f6a9ab5f0eb307c1ff */
3
4 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_xmlwriter_open_uri, 0, 1, XMLWriter, MAY_BE_FALSE)
5 ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 0)
6 ZEND_END_ARG_INFO()
7
8 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_xmlwriter_open_memory, 0, 0, XMLWriter, MAY_BE_FALSE)
9 ZEND_END_ARG_INFO()
10
11 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_set_indent, 0, 2, _IS_BOOL, 0)
12 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
13 ZEND_ARG_TYPE_INFO(0, enable, _IS_BOOL, 0)
14 ZEND_END_ARG_INFO()
15
16 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_set_indent_string, 0, 2, _IS_BOOL, 0)
17 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
18 ZEND_ARG_TYPE_INFO(0, indentation, IS_STRING, 0)
19 ZEND_END_ARG_INFO()
20
21 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_start_comment, 0, 1, _IS_BOOL, 0)
22 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
23 ZEND_END_ARG_INFO()
24
25 #define arginfo_xmlwriter_end_comment arginfo_xmlwriter_start_comment
26
27 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_start_attribute, 0, 2, _IS_BOOL, 0)
28 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
29 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
30 ZEND_END_ARG_INFO()
31
32 #define arginfo_xmlwriter_end_attribute arginfo_xmlwriter_start_comment
33
34 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_attribute, 0, 3, _IS_BOOL, 0)
35 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
36 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
37 ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
38 ZEND_END_ARG_INFO()
39
40 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_start_attribute_ns, 0, 4, _IS_BOOL, 0)
41 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
42 ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
43 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
44 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
45 ZEND_END_ARG_INFO()
46
47 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_attribute_ns, 0, 5, _IS_BOOL, 0)
48 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
49 ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
50 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
51 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
52 ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
53 ZEND_END_ARG_INFO()
54
55 #define arginfo_xmlwriter_start_element arginfo_xmlwriter_start_attribute
56
57 #define arginfo_xmlwriter_end_element arginfo_xmlwriter_start_comment
58
59 #define arginfo_xmlwriter_full_end_element arginfo_xmlwriter_start_comment
60
61 #define arginfo_xmlwriter_start_element_ns arginfo_xmlwriter_start_attribute_ns
62
63 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_element, 0, 2, _IS_BOOL, 0)
64 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
65 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
66 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, content, IS_STRING, 1, "null")
67 ZEND_END_ARG_INFO()
68
69 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_element_ns, 0, 4, _IS_BOOL, 0)
70 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
71 ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
72 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
73 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
74 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, content, IS_STRING, 1, "null")
75 ZEND_END_ARG_INFO()
76
77 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_start_pi, 0, 2, _IS_BOOL, 0)
78 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
79 ZEND_ARG_TYPE_INFO(0, target, IS_STRING, 0)
80 ZEND_END_ARG_INFO()
81
82 #define arginfo_xmlwriter_end_pi arginfo_xmlwriter_start_comment
83
84 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_pi, 0, 3, _IS_BOOL, 0)
85 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
86 ZEND_ARG_TYPE_INFO(0, target, IS_STRING, 0)
87 ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
88 ZEND_END_ARG_INFO()
89
90 #define arginfo_xmlwriter_start_cdata arginfo_xmlwriter_start_comment
91
92 #define arginfo_xmlwriter_end_cdata arginfo_xmlwriter_start_comment
93
94 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_cdata, 0, 2, _IS_BOOL, 0)
95 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
96 ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
97 ZEND_END_ARG_INFO()
98
99 #define arginfo_xmlwriter_text arginfo_xmlwriter_write_cdata
100
101 #define arginfo_xmlwriter_write_raw arginfo_xmlwriter_write_cdata
102
103 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_start_document, 0, 1, _IS_BOOL, 0)
104 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
105 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, version, IS_STRING, 1, "\"1.0\"")
106 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
107 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, standalone, IS_STRING, 1, "null")
108 ZEND_END_ARG_INFO()
109
110 #define arginfo_xmlwriter_end_document arginfo_xmlwriter_start_comment
111
112 #define arginfo_xmlwriter_write_comment arginfo_xmlwriter_write_cdata
113
114 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_start_dtd, 0, 2, _IS_BOOL, 0)
115 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
116 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
117 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, publicId, IS_STRING, 1, "null")
118 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, systemId, IS_STRING, 1, "null")
119 ZEND_END_ARG_INFO()
120
121 #define arginfo_xmlwriter_end_dtd arginfo_xmlwriter_start_comment
122
123 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_dtd, 0, 2, _IS_BOOL, 0)
124 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
125 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
126 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, publicId, IS_STRING, 1, "null")
127 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, systemId, IS_STRING, 1, "null")
128 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, content, IS_STRING, 1, "null")
129 ZEND_END_ARG_INFO()
130
131 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_start_dtd_element, 0, 2, _IS_BOOL, 0)
132 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
133 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
134 ZEND_END_ARG_INFO()
135
136 #define arginfo_xmlwriter_end_dtd_element arginfo_xmlwriter_start_comment
137
138 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_dtd_element, 0, 3, _IS_BOOL, 0)
139 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
140 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
141 ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
142 ZEND_END_ARG_INFO()
143
144 #define arginfo_xmlwriter_start_dtd_attlist arginfo_xmlwriter_start_attribute
145
146 #define arginfo_xmlwriter_end_dtd_attlist arginfo_xmlwriter_start_comment
147
148 #define arginfo_xmlwriter_write_dtd_attlist arginfo_xmlwriter_write_dtd_element
149
150 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_start_dtd_entity, 0, 3, _IS_BOOL, 0)
151 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
152 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
153 ZEND_ARG_TYPE_INFO(0, isParam, _IS_BOOL, 0)
154 ZEND_END_ARG_INFO()
155
156 #define arginfo_xmlwriter_end_dtd_entity arginfo_xmlwriter_start_comment
157
158 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_write_dtd_entity, 0, 3, _IS_BOOL, 0)
159 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
160 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
161 ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
162 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, isParam, _IS_BOOL, 0, "false")
163 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, publicId, IS_STRING, 1, "null")
164 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, systemId, IS_STRING, 1, "null")
165 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, notationData, IS_STRING, 1, "null")
166 ZEND_END_ARG_INFO()
167
168 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlwriter_output_memory, 0, 1, IS_STRING, 0)
169 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
170 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flush, _IS_BOOL, 0, "true")
171 ZEND_END_ARG_INFO()
172
173 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_xmlwriter_flush, 0, 1, MAY_BE_STRING|MAY_BE_LONG)
174 ZEND_ARG_OBJ_INFO(0, writer, XMLWriter, 0)
175 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, empty, _IS_BOOL, 0, "true")
176 ZEND_END_ARG_INFO()
177
178 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_openUri, 0, 1, _IS_BOOL, 0)
179 ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 0)
180 ZEND_END_ARG_INFO()
181
182 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_toUri, 0, 1, IS_STATIC, 0)
183 ZEND_ARG_TYPE_INFO(0, uri, IS_STRING, 0)
184 ZEND_END_ARG_INFO()
185
186 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_openMemory, 0, 0, _IS_BOOL, 0)
187 ZEND_END_ARG_INFO()
188
189 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_toMemory, 0, 0, IS_STATIC, 0)
190 ZEND_END_ARG_INFO()
191
192 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_toStream, 0, 1, IS_STATIC, 0)
193 ZEND_ARG_INFO(0, stream)
194 ZEND_END_ARG_INFO()
195
196 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_setIndent, 0, 1, _IS_BOOL, 0)
197 ZEND_ARG_TYPE_INFO(0, enable, _IS_BOOL, 0)
198 ZEND_END_ARG_INFO()
199
200 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_setIndentString, 0, 1, _IS_BOOL, 0)
201 ZEND_ARG_TYPE_INFO(0, indentation, IS_STRING, 0)
202 ZEND_END_ARG_INFO()
203
204 #define arginfo_class_XMLWriter_startComment arginfo_class_XMLWriter_openMemory
205
206 #define arginfo_class_XMLWriter_endComment arginfo_class_XMLWriter_openMemory
207
208 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_startAttribute, 0, 1, _IS_BOOL, 0)
209 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
210 ZEND_END_ARG_INFO()
211
212 #define arginfo_class_XMLWriter_endAttribute arginfo_class_XMLWriter_openMemory
213
214 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_writeAttribute, 0, 2, _IS_BOOL, 0)
215 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
216 ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
217 ZEND_END_ARG_INFO()
218
219 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_startAttributeNs, 0, 3, _IS_BOOL, 0)
220 ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
221 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
222 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
223 ZEND_END_ARG_INFO()
224
225 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_writeAttributeNs, 0, 4, _IS_BOOL, 0)
226 ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
227 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
228 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
229 ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
230 ZEND_END_ARG_INFO()
231
232 #define arginfo_class_XMLWriter_startElement arginfo_class_XMLWriter_startAttribute
233
234 #define arginfo_class_XMLWriter_endElement arginfo_class_XMLWriter_openMemory
235
236 #define arginfo_class_XMLWriter_fullEndElement arginfo_class_XMLWriter_openMemory
237
238 #define arginfo_class_XMLWriter_startElementNs arginfo_class_XMLWriter_startAttributeNs
239
240 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_writeElement, 0, 1, _IS_BOOL, 0)
241 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
242 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, content, IS_STRING, 1, "null")
243 ZEND_END_ARG_INFO()
244
245 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_writeElementNs, 0, 3, _IS_BOOL, 0)
246 ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 1)
247 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
248 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 1)
249 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, content, IS_STRING, 1, "null")
250 ZEND_END_ARG_INFO()
251
252 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_startPi, 0, 1, _IS_BOOL, 0)
253 ZEND_ARG_TYPE_INFO(0, target, IS_STRING, 0)
254 ZEND_END_ARG_INFO()
255
256 #define arginfo_class_XMLWriter_endPi arginfo_class_XMLWriter_openMemory
257
258 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_writePi, 0, 2, _IS_BOOL, 0)
259 ZEND_ARG_TYPE_INFO(0, target, IS_STRING, 0)
260 ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
261 ZEND_END_ARG_INFO()
262
263 #define arginfo_class_XMLWriter_startCdata arginfo_class_XMLWriter_openMemory
264
265 #define arginfo_class_XMLWriter_endCdata arginfo_class_XMLWriter_openMemory
266
267 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_writeCdata, 0, 1, _IS_BOOL, 0)
268 ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
269 ZEND_END_ARG_INFO()
270
271 #define arginfo_class_XMLWriter_text arginfo_class_XMLWriter_writeCdata
272
273 #define arginfo_class_XMLWriter_writeRaw arginfo_class_XMLWriter_writeCdata
274
275 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_startDocument, 0, 0, _IS_BOOL, 0)
276 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, version, IS_STRING, 1, "\"1.0\"")
277 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
278 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, standalone, IS_STRING, 1, "null")
279 ZEND_END_ARG_INFO()
280
281 #define arginfo_class_XMLWriter_endDocument arginfo_class_XMLWriter_openMemory
282
283 #define arginfo_class_XMLWriter_writeComment arginfo_class_XMLWriter_writeCdata
284
285 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_startDtd, 0, 1, _IS_BOOL, 0)
286 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
287 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, publicId, IS_STRING, 1, "null")
288 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, systemId, IS_STRING, 1, "null")
289 ZEND_END_ARG_INFO()
290
291 #define arginfo_class_XMLWriter_endDtd arginfo_class_XMLWriter_openMemory
292
293 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_writeDtd, 0, 1, _IS_BOOL, 0)
294 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
295 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, publicId, IS_STRING, 1, "null")
296 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, systemId, IS_STRING, 1, "null")
297 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, content, IS_STRING, 1, "null")
298 ZEND_END_ARG_INFO()
299
300 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_startDtdElement, 0, 1, _IS_BOOL, 0)
301 ZEND_ARG_TYPE_INFO(0, qualifiedName, IS_STRING, 0)
302 ZEND_END_ARG_INFO()
303
304 #define arginfo_class_XMLWriter_endDtdElement arginfo_class_XMLWriter_openMemory
305
306 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_writeDtdElement, 0, 2, _IS_BOOL, 0)
307 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
308 ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
309 ZEND_END_ARG_INFO()
310
311 #define arginfo_class_XMLWriter_startDtdAttlist arginfo_class_XMLWriter_startAttribute
312
313 #define arginfo_class_XMLWriter_endDtdAttlist arginfo_class_XMLWriter_openMemory
314
315 #define arginfo_class_XMLWriter_writeDtdAttlist arginfo_class_XMLWriter_writeDtdElement
316
317 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_startDtdEntity, 0, 2, _IS_BOOL, 0)
318 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
319 ZEND_ARG_TYPE_INFO(0, isParam, _IS_BOOL, 0)
320 ZEND_END_ARG_INFO()
321
322 #define arginfo_class_XMLWriter_endDtdEntity arginfo_class_XMLWriter_openMemory
323
324 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_writeDtdEntity, 0, 2, _IS_BOOL, 0)
325 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
326 ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
327 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, isParam, _IS_BOOL, 0, "false")
328 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, publicId, IS_STRING, 1, "null")
329 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, systemId, IS_STRING, 1, "null")
330 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, notationData, IS_STRING, 1, "null")
331 ZEND_END_ARG_INFO()
332
333 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XMLWriter_outputMemory, 0, 0, IS_STRING, 0)
334 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flush, _IS_BOOL, 0, "true")
335 ZEND_END_ARG_INFO()
336
337 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_XMLWriter_flush, 0, 0, MAY_BE_STRING|MAY_BE_LONG)
338 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, empty, _IS_BOOL, 0, "true")
339 ZEND_END_ARG_INFO()
340
341 ZEND_FUNCTION(xmlwriter_open_uri);
342 ZEND_FUNCTION(xmlwriter_open_memory);
343 ZEND_FUNCTION(xmlwriter_set_indent);
344 ZEND_FUNCTION(xmlwriter_set_indent_string);
345 ZEND_FUNCTION(xmlwriter_start_comment);
346 ZEND_FUNCTION(xmlwriter_end_comment);
347 ZEND_FUNCTION(xmlwriter_start_attribute);
348 ZEND_FUNCTION(xmlwriter_end_attribute);
349 ZEND_FUNCTION(xmlwriter_write_attribute);
350 ZEND_FUNCTION(xmlwriter_start_attribute_ns);
351 ZEND_FUNCTION(xmlwriter_write_attribute_ns);
352 ZEND_FUNCTION(xmlwriter_start_element);
353 ZEND_FUNCTION(xmlwriter_end_element);
354 ZEND_FUNCTION(xmlwriter_full_end_element);
355 ZEND_FUNCTION(xmlwriter_start_element_ns);
356 ZEND_FUNCTION(xmlwriter_write_element);
357 ZEND_FUNCTION(xmlwriter_write_element_ns);
358 ZEND_FUNCTION(xmlwriter_start_pi);
359 ZEND_FUNCTION(xmlwriter_end_pi);
360 ZEND_FUNCTION(xmlwriter_write_pi);
361 ZEND_FUNCTION(xmlwriter_start_cdata);
362 ZEND_FUNCTION(xmlwriter_end_cdata);
363 ZEND_FUNCTION(xmlwriter_write_cdata);
364 ZEND_FUNCTION(xmlwriter_text);
365 ZEND_FUNCTION(xmlwriter_write_raw);
366 ZEND_FUNCTION(xmlwriter_start_document);
367 ZEND_FUNCTION(xmlwriter_end_document);
368 ZEND_FUNCTION(xmlwriter_write_comment);
369 ZEND_FUNCTION(xmlwriter_start_dtd);
370 ZEND_FUNCTION(xmlwriter_end_dtd);
371 ZEND_FUNCTION(xmlwriter_write_dtd);
372 ZEND_FUNCTION(xmlwriter_start_dtd_element);
373 ZEND_FUNCTION(xmlwriter_end_dtd_element);
374 ZEND_FUNCTION(xmlwriter_write_dtd_element);
375 ZEND_FUNCTION(xmlwriter_start_dtd_attlist);
376 ZEND_FUNCTION(xmlwriter_end_dtd_attlist);
377 ZEND_FUNCTION(xmlwriter_write_dtd_attlist);
378 ZEND_FUNCTION(xmlwriter_start_dtd_entity);
379 ZEND_FUNCTION(xmlwriter_end_dtd_entity);
380 ZEND_FUNCTION(xmlwriter_write_dtd_entity);
381 ZEND_FUNCTION(xmlwriter_output_memory);
382 ZEND_FUNCTION(xmlwriter_flush);
383 ZEND_METHOD(XMLWriter, toUri);
384 ZEND_METHOD(XMLWriter, toMemory);
385 ZEND_METHOD(XMLWriter, toStream);
386
387 static const zend_function_entry ext_functions[] = {
388 ZEND_FE(xmlwriter_open_uri, arginfo_xmlwriter_open_uri)
389 ZEND_FE(xmlwriter_open_memory, arginfo_xmlwriter_open_memory)
390 ZEND_FE(xmlwriter_set_indent, arginfo_xmlwriter_set_indent)
391 ZEND_FE(xmlwriter_set_indent_string, arginfo_xmlwriter_set_indent_string)
392 ZEND_FE(xmlwriter_start_comment, arginfo_xmlwriter_start_comment)
393 ZEND_FE(xmlwriter_end_comment, arginfo_xmlwriter_end_comment)
394 ZEND_FE(xmlwriter_start_attribute, arginfo_xmlwriter_start_attribute)
395 ZEND_FE(xmlwriter_end_attribute, arginfo_xmlwriter_end_attribute)
396 ZEND_FE(xmlwriter_write_attribute, arginfo_xmlwriter_write_attribute)
397 ZEND_FE(xmlwriter_start_attribute_ns, arginfo_xmlwriter_start_attribute_ns)
398 ZEND_FE(xmlwriter_write_attribute_ns, arginfo_xmlwriter_write_attribute_ns)
399 ZEND_FE(xmlwriter_start_element, arginfo_xmlwriter_start_element)
400 ZEND_FE(xmlwriter_end_element, arginfo_xmlwriter_end_element)
401 ZEND_FE(xmlwriter_full_end_element, arginfo_xmlwriter_full_end_element)
402 ZEND_FE(xmlwriter_start_element_ns, arginfo_xmlwriter_start_element_ns)
403 ZEND_FE(xmlwriter_write_element, arginfo_xmlwriter_write_element)
404 ZEND_FE(xmlwriter_write_element_ns, arginfo_xmlwriter_write_element_ns)
405 ZEND_FE(xmlwriter_start_pi, arginfo_xmlwriter_start_pi)
406 ZEND_FE(xmlwriter_end_pi, arginfo_xmlwriter_end_pi)
407 ZEND_FE(xmlwriter_write_pi, arginfo_xmlwriter_write_pi)
408 ZEND_FE(xmlwriter_start_cdata, arginfo_xmlwriter_start_cdata)
409 ZEND_FE(xmlwriter_end_cdata, arginfo_xmlwriter_end_cdata)
410 ZEND_FE(xmlwriter_write_cdata, arginfo_xmlwriter_write_cdata)
411 ZEND_FE(xmlwriter_text, arginfo_xmlwriter_text)
412 ZEND_FE(xmlwriter_write_raw, arginfo_xmlwriter_write_raw)
413 ZEND_FE(xmlwriter_start_document, arginfo_xmlwriter_start_document)
414 ZEND_FE(xmlwriter_end_document, arginfo_xmlwriter_end_document)
415 ZEND_FE(xmlwriter_write_comment, arginfo_xmlwriter_write_comment)
416 ZEND_FE(xmlwriter_start_dtd, arginfo_xmlwriter_start_dtd)
417 ZEND_FE(xmlwriter_end_dtd, arginfo_xmlwriter_end_dtd)
418 ZEND_FE(xmlwriter_write_dtd, arginfo_xmlwriter_write_dtd)
419 ZEND_FE(xmlwriter_start_dtd_element, arginfo_xmlwriter_start_dtd_element)
420 ZEND_FE(xmlwriter_end_dtd_element, arginfo_xmlwriter_end_dtd_element)
421 ZEND_FE(xmlwriter_write_dtd_element, arginfo_xmlwriter_write_dtd_element)
422 ZEND_FE(xmlwriter_start_dtd_attlist, arginfo_xmlwriter_start_dtd_attlist)
423 ZEND_FE(xmlwriter_end_dtd_attlist, arginfo_xmlwriter_end_dtd_attlist)
424 ZEND_FE(xmlwriter_write_dtd_attlist, arginfo_xmlwriter_write_dtd_attlist)
425 ZEND_FE(xmlwriter_start_dtd_entity, arginfo_xmlwriter_start_dtd_entity)
426 ZEND_FE(xmlwriter_end_dtd_entity, arginfo_xmlwriter_end_dtd_entity)
427 ZEND_FE(xmlwriter_write_dtd_entity, arginfo_xmlwriter_write_dtd_entity)
428 ZEND_FE(xmlwriter_output_memory, arginfo_xmlwriter_output_memory)
429 ZEND_FE(xmlwriter_flush, arginfo_xmlwriter_flush)
430 ZEND_FE_END
431 };
432
433 static const zend_function_entry class_XMLWriter_methods[] = {
434 ZEND_RAW_FENTRY("openUri", zif_xmlwriter_open_uri, arginfo_class_XMLWriter_openUri, ZEND_ACC_PUBLIC, NULL, NULL)
435 ZEND_ME(XMLWriter, toUri, arginfo_class_XMLWriter_toUri, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
436 ZEND_RAW_FENTRY("openMemory", zif_xmlwriter_open_memory, arginfo_class_XMLWriter_openMemory, ZEND_ACC_PUBLIC, NULL, NULL)
437 ZEND_ME(XMLWriter, toMemory, arginfo_class_XMLWriter_toMemory, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
438 ZEND_ME(XMLWriter, toStream, arginfo_class_XMLWriter_toStream, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
439 ZEND_RAW_FENTRY("setIndent", zif_xmlwriter_set_indent, arginfo_class_XMLWriter_setIndent, ZEND_ACC_PUBLIC, NULL, NULL)
440 ZEND_RAW_FENTRY("setIndentString", zif_xmlwriter_set_indent_string, arginfo_class_XMLWriter_setIndentString, ZEND_ACC_PUBLIC, NULL, NULL)
441 ZEND_RAW_FENTRY("startComment", zif_xmlwriter_start_comment, arginfo_class_XMLWriter_startComment, ZEND_ACC_PUBLIC, NULL, NULL)
442 ZEND_RAW_FENTRY("endComment", zif_xmlwriter_end_comment, arginfo_class_XMLWriter_endComment, ZEND_ACC_PUBLIC, NULL, NULL)
443 ZEND_RAW_FENTRY("startAttribute", zif_xmlwriter_start_attribute, arginfo_class_XMLWriter_startAttribute, ZEND_ACC_PUBLIC, NULL, NULL)
444 ZEND_RAW_FENTRY("endAttribute", zif_xmlwriter_end_attribute, arginfo_class_XMLWriter_endAttribute, ZEND_ACC_PUBLIC, NULL, NULL)
445 ZEND_RAW_FENTRY("writeAttribute", zif_xmlwriter_write_attribute, arginfo_class_XMLWriter_writeAttribute, ZEND_ACC_PUBLIC, NULL, NULL)
446 ZEND_RAW_FENTRY("startAttributeNs", zif_xmlwriter_start_attribute_ns, arginfo_class_XMLWriter_startAttributeNs, ZEND_ACC_PUBLIC, NULL, NULL)
447 ZEND_RAW_FENTRY("writeAttributeNs", zif_xmlwriter_write_attribute_ns, arginfo_class_XMLWriter_writeAttributeNs, ZEND_ACC_PUBLIC, NULL, NULL)
448 ZEND_RAW_FENTRY("startElement", zif_xmlwriter_start_element, arginfo_class_XMLWriter_startElement, ZEND_ACC_PUBLIC, NULL, NULL)
449 ZEND_RAW_FENTRY("endElement", zif_xmlwriter_end_element, arginfo_class_XMLWriter_endElement, ZEND_ACC_PUBLIC, NULL, NULL)
450 ZEND_RAW_FENTRY("fullEndElement", zif_xmlwriter_full_end_element, arginfo_class_XMLWriter_fullEndElement, ZEND_ACC_PUBLIC, NULL, NULL)
451 ZEND_RAW_FENTRY("startElementNs", zif_xmlwriter_start_element_ns, arginfo_class_XMLWriter_startElementNs, ZEND_ACC_PUBLIC, NULL, NULL)
452 ZEND_RAW_FENTRY("writeElement", zif_xmlwriter_write_element, arginfo_class_XMLWriter_writeElement, ZEND_ACC_PUBLIC, NULL, NULL)
453 ZEND_RAW_FENTRY("writeElementNs", zif_xmlwriter_write_element_ns, arginfo_class_XMLWriter_writeElementNs, ZEND_ACC_PUBLIC, NULL, NULL)
454 ZEND_RAW_FENTRY("startPi", zif_xmlwriter_start_pi, arginfo_class_XMLWriter_startPi, ZEND_ACC_PUBLIC, NULL, NULL)
455 ZEND_RAW_FENTRY("endPi", zif_xmlwriter_end_pi, arginfo_class_XMLWriter_endPi, ZEND_ACC_PUBLIC, NULL, NULL)
456 ZEND_RAW_FENTRY("writePi", zif_xmlwriter_write_pi, arginfo_class_XMLWriter_writePi, ZEND_ACC_PUBLIC, NULL, NULL)
457 ZEND_RAW_FENTRY("startCdata", zif_xmlwriter_start_cdata, arginfo_class_XMLWriter_startCdata, ZEND_ACC_PUBLIC, NULL, NULL)
458 ZEND_RAW_FENTRY("endCdata", zif_xmlwriter_end_cdata, arginfo_class_XMLWriter_endCdata, ZEND_ACC_PUBLIC, NULL, NULL)
459 ZEND_RAW_FENTRY("writeCdata", zif_xmlwriter_write_cdata, arginfo_class_XMLWriter_writeCdata, ZEND_ACC_PUBLIC, NULL, NULL)
460 ZEND_RAW_FENTRY("text", zif_xmlwriter_text, arginfo_class_XMLWriter_text, ZEND_ACC_PUBLIC, NULL, NULL)
461 ZEND_RAW_FENTRY("writeRaw", zif_xmlwriter_write_raw, arginfo_class_XMLWriter_writeRaw, ZEND_ACC_PUBLIC, NULL, NULL)
462 ZEND_RAW_FENTRY("startDocument", zif_xmlwriter_start_document, arginfo_class_XMLWriter_startDocument, ZEND_ACC_PUBLIC, NULL, NULL)
463 ZEND_RAW_FENTRY("endDocument", zif_xmlwriter_end_document, arginfo_class_XMLWriter_endDocument, ZEND_ACC_PUBLIC, NULL, NULL)
464 ZEND_RAW_FENTRY("writeComment", zif_xmlwriter_write_comment, arginfo_class_XMLWriter_writeComment, ZEND_ACC_PUBLIC, NULL, NULL)
465 ZEND_RAW_FENTRY("startDtd", zif_xmlwriter_start_dtd, arginfo_class_XMLWriter_startDtd, ZEND_ACC_PUBLIC, NULL, NULL)
466 ZEND_RAW_FENTRY("endDtd", zif_xmlwriter_end_dtd, arginfo_class_XMLWriter_endDtd, ZEND_ACC_PUBLIC, NULL, NULL)
467 ZEND_RAW_FENTRY("writeDtd", zif_xmlwriter_write_dtd, arginfo_class_XMLWriter_writeDtd, ZEND_ACC_PUBLIC, NULL, NULL)
468 ZEND_RAW_FENTRY("startDtdElement", zif_xmlwriter_start_dtd_element, arginfo_class_XMLWriter_startDtdElement, ZEND_ACC_PUBLIC, NULL, NULL)
469 ZEND_RAW_FENTRY("endDtdElement", zif_xmlwriter_end_dtd_element, arginfo_class_XMLWriter_endDtdElement, ZEND_ACC_PUBLIC, NULL, NULL)
470 ZEND_RAW_FENTRY("writeDtdElement", zif_xmlwriter_write_dtd_element, arginfo_class_XMLWriter_writeDtdElement, ZEND_ACC_PUBLIC, NULL, NULL)
471 ZEND_RAW_FENTRY("startDtdAttlist", zif_xmlwriter_start_dtd_attlist, arginfo_class_XMLWriter_startDtdAttlist, ZEND_ACC_PUBLIC, NULL, NULL)
472 ZEND_RAW_FENTRY("endDtdAttlist", zif_xmlwriter_end_dtd_attlist, arginfo_class_XMLWriter_endDtdAttlist, ZEND_ACC_PUBLIC, NULL, NULL)
473 ZEND_RAW_FENTRY("writeDtdAttlist", zif_xmlwriter_write_dtd_attlist, arginfo_class_XMLWriter_writeDtdAttlist, ZEND_ACC_PUBLIC, NULL, NULL)
474 ZEND_RAW_FENTRY("startDtdEntity", zif_xmlwriter_start_dtd_entity, arginfo_class_XMLWriter_startDtdEntity, ZEND_ACC_PUBLIC, NULL, NULL)
475 ZEND_RAW_FENTRY("endDtdEntity", zif_xmlwriter_end_dtd_entity, arginfo_class_XMLWriter_endDtdEntity, ZEND_ACC_PUBLIC, NULL, NULL)
476 ZEND_RAW_FENTRY("writeDtdEntity", zif_xmlwriter_write_dtd_entity, arginfo_class_XMLWriter_writeDtdEntity, ZEND_ACC_PUBLIC, NULL, NULL)
477 ZEND_RAW_FENTRY("outputMemory", zif_xmlwriter_output_memory, arginfo_class_XMLWriter_outputMemory, ZEND_ACC_PUBLIC, NULL, NULL)
478 ZEND_RAW_FENTRY("flush", zif_xmlwriter_flush, arginfo_class_XMLWriter_flush, ZEND_ACC_PUBLIC, NULL, NULL)
479 ZEND_FE_END
480 };
481
register_class_XMLWriter(void)482 static zend_class_entry *register_class_XMLWriter(void)
483 {
484 zend_class_entry ce, *class_entry;
485
486 INIT_CLASS_ENTRY(ce, "XMLWriter", class_XMLWriter_methods);
487 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
488
489 return class_entry;
490 }
491