Debian Codegraph @

codelitephp/resources/cc/xmlwriter.php

raw
1 <?php
2
3 // Start of xmlwriter v.0.1
4
5 class XMLWriter {
6
7 /**
8 * Create new xmlwriter using source uri for output
9 * @link http://www.php.net/manual/en/function.xmlwriter-open-uri.php
10 * @param uri string <p>
11 * The URI of the resource for the output.
12 * </p>
13 * @return bool &style.oop;: Returns true on success, false on failure.
14 * </p>
15 * <p>
16 * &style.procedural;: Returns a new xmlwriter &resource; for later use with the
17 * xmlwriter functions on success, false on error.
18 */
19 public function openUri ($uri) {}
20
21 /**
22 * Create new xmlwriter using memory for string output
23 * @link http://www.php.net/manual/en/function.xmlwriter-open-memory.php
24 * @return bool &style.oop;: Returns true on success, false on failure.
25 * </p>
26 * <p>
27 * &style.procedural;: Returns a new xmlwriter &resource; for later use with the
28 * xmlwriter functions on success, false on error.
29 */
30 public function openMemory () {}
31
32 /**
33 * Toggle indentation on/off
34 * @link http://www.php.net/manual/en/function.xmlwriter-set-indent.php
35 * @param indent bool <p>
36 * Whether indentation is enabled.
37 * </p>
38 * @return bool Returns true on success, false on failure.
39 */
40 public function setIndent ($indent) {}
41
42 /**
43 * Set string used for indenting
44 * @link http://www.php.net/manual/en/function.xmlwriter-set-indent-string.php
45 * @param indentString string <p>
46 * The indentation string.
47 * </p>
48 * @return bool Returns true on success, false on failure.
49 */
50 public function setIndentString ($indentString) {}
51
52 /**
53 * Create start comment
54 * @link http://www.php.net/manual/en/function.xmlwriter-start-comment.php
55 * @return bool Returns true on success, false on failure.
56 */
57 public function startComment () {}
58
59 /**
60 * Create end comment
61 * @link http://www.php.net/manual/en/function.xmlwriter-end-comment.php
62 * @return bool Returns true on success, false on failure.
63 */
64 public function endComment () {}
65
66 /**
67 * Create start attribute
68 * @link http://www.php.net/manual/en/function.xmlwriter-start-attribute.php
69 * @param name string <p>
70 * The attribute name.
71 * </p>
72 * @return bool Returns true on success, false on failure.
73 */
74 public function startAttribute ($name) {}
75
76 /**
77 * End attribute
78 * @link http://www.php.net/manual/en/function.xmlwriter-end-attribute.php
79 * @return bool Returns true on success, false on failure.
80 */
81 public function endAttribute () {}
82
83 /**
84 * Write full attribute
85 * @link http://www.php.net/manual/en/function.xmlwriter-write-attribute.php
86 * @param name string <p>
87 * The name of the attribute.
88 * </p>
89 * @param value string <p>
90 * The value of the attribute.
91 * </p>
92 * @return bool Returns true on success, false on failure.
93 */
94 public function writeAttribute ($name, $value) {}
95
96 /**
97 * Create start namespaced attribute
98 * @link http://www.php.net/manual/en/function.xmlwriter-start-attribute-ns.php
99 * @param prefix string <p>
100 * The namespace prefix.
101 * </p>
102 * @param name string <p>
103 * The attribute name.
104 * </p>
105 * @param uri string <p>
106 * The namespace URI.
107 * </p>
108 * @return bool Returns true on success, false on failure.
109 */
110 public function startAttributeNs ($prefix, $name, $uri) {}
111
112 /**
113 * Write full namespaced attribute
114 * @link http://www.php.net/manual/en/function.xmlwriter-write-attribute-ns.php
115 * @param prefix string <p>
116 * The namespace prefix.
117 * </p>
118 * @param name string <p>
119 * The attribute name.
120 * </p>
121 * @param uri string <p>
122 * The namespace URI.
123 * </p>
124 * @param content string <p>
125 * The attribute value.
126 * </p>
127 * @return bool Returns true on success, false on failure.
128 */
129 public function writeAttributeNs ($prefix, $name, $uri, $content) {}
130
131 /**
132 * Create start element tag
133 * @link http://www.php.net/manual/en/function.xmlwriter-start-element.php
134 * @param name string <p>
135 * The element name.
136 * </p>
137 * @return bool Returns true on success, false on failure.
138 */
139 public function startElement ($name) {}
140
141 /**
142 * End current element
143 * @link http://www.php.net/manual/en/function.xmlwriter-end-element.php
144 * @return bool Returns true on success, false on failure.
145 */
146 public function endElement () {}
147
148 /**
149 * End current element
150 * @link http://www.php.net/manual/en/function.xmlwriter-full-end-element.php
151 * @return bool Returns true on success, false on failure.
152 */
153 public function fullEndElement () {}
154
155 /**
156 * Create start namespaced element tag
157 * @link http://www.php.net/manual/en/function.xmlwriter-start-element-ns.php
158 * @param prefix string <p>
159 * The namespace prefix.
160 * </p>
161 * @param name string <p>
162 * The element name.
163 * </p>
164 * @param uri string <p>
165 * The namespace URI.
166 * </p>
167 * @return bool Returns true on success, false on failure.
168 */
169 public function startElementNs ($prefix, $name, $uri) {}
170
171 /**
172 * Write full element tag
173 * @link http://www.php.net/manual/en/function.xmlwriter-write-element.php
174 * @param name string <p>
175 * The element name.
176 * </p>
177 * @param content string[optional] <p>
178 * The element contents.
179 * </p>
180 * @return bool Returns true on success, false on failure.
181 */
182 public function writeElement ($name, $content = null) {}
183
184 /**
185 * Write full namespaced element tag
186 * @link http://www.php.net/manual/en/function.xmlwriter-write-element-ns.php
187 * @param prefix string <p>
188 * The namespace prefix.
189 * </p>
190 * @param name string <p>
191 * The element name.
192 * </p>
193 * @param uri string <p>
194 * The namespace URI.
195 * </p>
196 * @param content string[optional] <p>
197 * The element contents.
198 * </p>
199 * @return bool Returns true on success, false on failure.
200 */
201 public function writeElementNs ($prefix, $name, $uri, $content = null) {}
202
203 /**
204 * Create start PI tag
205 * @link http://www.php.net/manual/en/function.xmlwriter-start-pi.php
206 * @param target string <p>
207 * The target of the processing instruction.
208 * </p>
209 * @return bool Returns true on success, false on failure.
210 */
211 public function startPi ($target) {}
212
213 /**
214 * End current PI
215 * @link http://www.php.net/manual/en/function.xmlwriter-end-pi.php
216 * @return bool Returns true on success, false on failure.
217 */
218 public function endPi () {}
219
220 /**
221 * Writes a PI
222 * @link http://www.php.net/manual/en/function.xmlwriter-write-pi.php
223 * @param target string <p>
224 * The target of the processing instruction.
225 * </p>
226 * @param content string <p>
227 * The content of the processing instruction.
228 * </p>
229 * @return bool Returns true on success, false on failure.
230 */
231 public function writePi ($target, $content) {}
232
233 /**
234 * Create start CDATA tag
235 * @link http://www.php.net/manual/en/function.xmlwriter-start-cdata.php
236 * @return bool Returns true on success, false on failure.
237 */
238 public function startCdata () {}
239
240 /**
241 * End current CDATA
242 * @link http://www.php.net/manual/en/function.xmlwriter-end-cdata.php
243 * @return bool Returns true on success, false on failure.
244 */
245 public function endCdata () {}
246
247 /**
248 * Write full CDATA tag
249 * @link http://www.php.net/manual/en/function.xmlwriter-write-cdata.php
250 * @param content string <p>
251 * The contents of the CDATA.
252 * </p>
253 * @return bool Returns true on success, false on failure.
254 */
255 public function writeCdata ($content) {}
256
257 /**
258 * Write text
259 * @link http://www.php.net/manual/en/function.xmlwriter-text.php
260 * @param content string <p>
261 * The contents of the text.
262 * </p>
263 * @return bool Returns true on success, false on failure.
264 */
265 public function text ($content) {}
266
267 /**
268 * Write a raw XML text
269 * @link http://www.php.net/manual/en/function.xmlwriter-write-raw.php
270 * @param content string <p>
271 * The text string to write.
272 * </p>
273 * @return bool Returns true on success, false on failure.
274 */
275 public function writeRaw ($content) {}
276
277 /**
278 * Create document tag
279 * @link http://www.php.net/manual/en/function.xmlwriter-start-document.php
280 * @param version string[optional] <p>
281 * The version number of the document as part of the XML declaration.
282 * </p>
283 * @param encoding string[optional] <p>
284 * The encoding of the document as part of the XML declaration.
285 * </p>
286 * @param standalone string[optional] <p>
287 * yes or no.
288 * </p>
289 * @return bool Returns true on success, false on failure.
290 */
291 public function startDocument ($version = null, $encoding = null, $standalone = null) {}
292
293 /**
294 * End current document
295 * @link http://www.php.net/manual/en/function.xmlwriter-end-document.php
296 * @return bool Returns true on success, false on failure.
297 */
298 public function endDocument () {}
299
300 /**
301 * Write full comment tag
302 * @link http://www.php.net/manual/en/function.xmlwriter-write-comment.php
303 * @param content string <p>
304 * The contents of the comment.
305 * </p>
306 * @return bool Returns true on success, false on failure.
307 */
308 public function writeComment ($content) {}
309
310 /**
311 * Create start DTD tag
312 * @link http://www.php.net/manual/en/function.xmlwriter-start-dtd.php
313 * @param qualifiedName string <p>
314 * The qualified name of the document type to create.
315 * </p>
316 * @param publicId string[optional] <p>
317 * The external subset public identifier.
318 * </p>
319 * @param systemId string[optional] <p>
320 * The external subset system identifier.
321 * </p>
322 * @return bool Returns true on success, false on failure.
323 */
324 public function startDtd ($qualifiedName, $publicId = null, $systemId = null) {}
325
326 /**
327 * End current DTD
328 * @link http://www.php.net/manual/en/function.xmlwriter-end-dtd.php
329 * @return bool Returns true on success, false on failure.
330 */
331 public function endDtd () {}
332
333 /**
334 * Write full DTD tag
335 * @link http://www.php.net/manual/en/function.xmlwriter-write-dtd.php
336 * @param name string <p>
337 * The DTD name.
338 * </p>
339 * @param publicId string[optional] <p>
340 * The external subset public identifier.
341 * </p>
342 * @param systemId string[optional] <p>
343 * The external subset system identifier.
344 * </p>
345 * @param subset string[optional] <p>
346 * The content of the DTD.
347 * </p>
348 * @return bool Returns true on success, false on failure.
349 */
350 public function writeDtd ($name, $publicId = null, $systemId = null, $subset = null) {}
351
352 /**
353 * Create start DTD element
354 * @link http://www.php.net/manual/en/function.xmlwriter-start-dtd-element.php
355 * @param qualifiedName string <p>
356 * The qualified name of the document type to create.
357 * </p>
358 * @return bool Returns true on success, false on failure.
359 */
360 public function startDtdElement ($qualifiedName) {}
361
362 /**
363 * End current DTD element
364 * @link http://www.php.net/manual/en/function.xmlwriter-end-dtd-element.php
365 * @return bool Returns true on success, false on failure.
366 */
367 public function endDtdElement () {}
368
369 /**
370 * Write full DTD element tag
371 * @link http://www.php.net/manual/en/function.xmlwriter-write-dtd-element.php
372 * @param name string <p>
373 * The name of the DTD element.
374 * </p>
375 * @param content string <p>
376 * The content of the element.
377 * </p>
378 * @return bool Returns true on success, false on failure.
379 */
380 public function writeDtdElement ($name, $content) {}
381
382 /**
383 * Create start DTD AttList
384 * @link http://www.php.net/manual/en/function.xmlwriter-start-dtd-attlist.php
385 * @param name string <p>
386 * The attribute list name.
387 * </p>
388 * @return bool Returns true on success, false on failure.
389 */
390 public function startDtdAttlist ($name) {}
391
392 /**
393 * End current DTD AttList
394 * @link http://www.php.net/manual/en/function.xmlwriter-end-dtd-attlist.php
395 * @return bool Returns true on success, false on failure.
396 */
397 public function endDtdAttlist () {}
398
399 /**
400 * Write full DTD AttList tag
401 * @link http://www.php.net/manual/en/function.xmlwriter-write-dtd-attlist.php
402 * @param name string <p>
403 * The name of the DTD attribute list.
404 * </p>
405 * @param content string <p>
406 * The content of the DTD attribute list.
407 * </p>
408 * @return bool Returns true on success, false on failure.
409 */
410 public function writeDtdAttlist ($name, $content) {}
411
412 /**
413 * Create start DTD Entity
414 * @link http://www.php.net/manual/en/function.xmlwriter-start-dtd-entity.php
415 * @param name string <p>
416 * The name of the entity.
417 * </p>
418 * @param isparam bool <p>
419 * </p>
420 * @return bool Returns true on success, false on failure.
421 */
422 public function startDtdEntity ($name, $isparam) {}
423
424 /**
425 * End current DTD Entity
426 * @link http://www.php.net/manual/en/function.xmlwriter-end-dtd-entity.php
427 * @return bool Returns true on success, false on failure.
428 */
429 public function endDtdEntity () {}
430
431 /**
432 * Write full DTD Entity tag
433 * @link http://www.php.net/manual/en/function.xmlwriter-write-dtd-entity.php
434 * @param name string <p>
435 * The name of the entity.
436 * </p>
437 * @param content string <p>
438 * The content of the entity.
439 * </p>
440 * @param pe bool
441 * @param pubid string
442 * @param sysid string
443 * @param ndataid string
444 * @return bool Returns true on success, false on failure.
445 */
446 public function writeDtdEntity ($name, $content, $pe, $pubid, $sysid, $ndataid) {}
447
448 /**
449 * Returns current buffer
450 * @link http://www.php.net/manual/en/function.xmlwriter-output-memory.php
451 * @param flush bool[optional] <p>
452 * Whether to flush the output buffer or not. Default is true.
453 * </p>
454 * @return string the current buffer as a string.
455 */
456 public function outputMemory ($flush = null) {}
457
458 /**
459 * Flush current buffer
460 * @link http://www.php.net/manual/en/function.xmlwriter-flush.php
461 * @param empty bool[optional] <p>
462 * Whether to empty the buffer or not. Default is true.
463 * </p>
464 * @return mixed If you opened the writer in memory, this function returns the generated XML buffer,
465 * Else, if using URI, this function will write the buffer and return the number of
466 * written bytes.
467 */
468 public function flush ($empty = null) {}
469
470 }
471
472 /**
473 * @param uri
474 */
475 function xmlwriter_open_uri ($uri) {}
476
477 function xmlwriter_open_memory () {}
478
479 /**
480 * @param xmlwriter
481 * @param indent
482 */
483 function xmlwriter_set_indent ($xmlwriter, $indent) {}
484
485 /**
486 * @param xmlwriter
487 * @param indentString
488 */
489 function xmlwriter_set_indent_string ($xmlwriter, $indentString) {}
490
491 /**
492 * @param xmlwriter
493 */
494 function xmlwriter_start_comment ($xmlwriter) {}
495
496 /**
497 * @param xmlwriter
498 */
499 function xmlwriter_end_comment ($xmlwriter) {}
500
501 /**
502 * @param xmlwriter
503 * @param name
504 */
505 function xmlwriter_start_attribute ($xmlwriter, $name) {}
506
507 /**
508 * @param xmlwriter
509 */
510 function xmlwriter_end_attribute ($xmlwriter) {}
511
512 /**
513 * @param xmlwriter
514 * @param name
515 * @param value
516 */
517 function xmlwriter_write_attribute ($xmlwriter, $name, $value) {}
518
519 /**
520 * @param xmlwriter
521 * @param prefix
522 * @param name
523 * @param uri
524 */
525 function xmlwriter_start_attribute_ns ($xmlwriter, $prefix, $name, $uri) {}
526
527 /**
528 * @param xmlwriter
529 * @param prefix
530 * @param name
531 * @param uri
532 * @param content
533 */
534 function xmlwriter_write_attribute_ns ($xmlwriter, $prefix, $name, $uri, $content) {}
535
536 /**
537 * @param xmlwriter
538 * @param name
539 */
540 function xmlwriter_start_element ($xmlwriter, $name) {}
541
542 /**
543 * @param xmlwriter
544 */
545 function xmlwriter_end_element ($xmlwriter) {}
546
547 /**
548 * @param xmlwriter
549 */
550 function xmlwriter_full_end_element ($xmlwriter) {}
551
552 /**
553 * @param xmlwriter
554 * @param prefix
555 * @param name
556 * @param uri
557 */
558 function xmlwriter_start_element_ns ($xmlwriter, $prefix, $name, $uri) {}
559
560 /**
561 * @param xmlwriter
562 * @param name
563 * @param content[optional]
564 */
565 function xmlwriter_write_element ($xmlwriter, $name, $content) {}
566
567 /**
568 * @param xmlwriter
569 * @param prefix
570 * @param name
571 * @param uri
572 * @param content[optional]
573 */
574 function xmlwriter_write_element_ns ($xmlwriter, $prefix, $name, $uri, $content) {}
575
576 /**
577 * @param xmlwriter
578 * @param target
579 */
580 function xmlwriter_start_pi ($xmlwriter, $target) {}
581
582 /**
583 * @param xmlwriter
584 */
585 function xmlwriter_end_pi ($xmlwriter) {}
586
587 /**
588 * @param xmlwriter
589 * @param target
590 * @param content
591 */
592 function xmlwriter_write_pi ($xmlwriter, $target, $content) {}
593
594 /**
595 * @param xmlwriter
596 */
597 function xmlwriter_start_cdata ($xmlwriter) {}
598
599 /**
600 * @param xmlwriter
601 */
602 function xmlwriter_end_cdata ($xmlwriter) {}
603
604 /**
605 * @param xmlwriter
606 * @param content
607 */
608 function xmlwriter_write_cdata ($xmlwriter, $content) {}
609
610 /**
611 * @param xmlwriter
612 * @param content
613 */
614 function xmlwriter_text ($xmlwriter, $content) {}
615
616 /**
617 * @param xmlwriter
618 * @param content
619 */
620 function xmlwriter_write_raw ($xmlwriter, $content) {}
621
622 /**
623 * @param xmlwriter
624 * @param version[optional]
625 * @param encoding[optional]
626 * @param standalone[optional]
627 */
628 function xmlwriter_start_document ($xmlwriter, $version, $encoding, $standalone) {}
629
630 /**
631 * @param xmlwriter
632 */
633 function xmlwriter_end_document ($xmlwriter) {}
634
635 /**
636 * @param xmlwriter
637 * @param content
638 */
639 function xmlwriter_write_comment ($xmlwriter, $content) {}
640
641 /**
642 * @param xmlwriter
643 * @param qualifiedName
644 * @param publicId[optional]
645 * @param systemId[optional]
646 */
647 function xmlwriter_start_dtd ($xmlwriter, $qualifiedName, $publicId, $systemId) {}
648
649 /**
650 * @param xmlwriter
651 */
652 function xmlwriter_end_dtd ($xmlwriter) {}
653
654 /**
655 * @param xmlwriter
656 * @param name
657 * @param publicId[optional]
658 * @param systemId[optional]
659 * @param subset[optional]
660 */
661 function xmlwriter_write_dtd ($xmlwriter, $name, $publicId, $systemId, $subset) {}
662
663 /**
664 * @param xmlwriter
665 * @param qualifiedName
666 */
667 function xmlwriter_start_dtd_element ($xmlwriter, $qualifiedName) {}
668
669 /**
670 * @param xmlwriter
671 */
672 function xmlwriter_end_dtd_element ($xmlwriter) {}
673
674 /**
675 * @param xmlwriter
676 * @param name
677 * @param content
678 */
679 function xmlwriter_write_dtd_element ($xmlwriter, $name, $content) {}
680
681 /**
682 * @param xmlwriter
683 * @param name
684 */
685 function xmlwriter_start_dtd_attlist ($xmlwriter, $name) {}
686
687 /**
688 * @param xmlwriter
689 */
690 function xmlwriter_end_dtd_attlist ($xmlwriter) {}
691
692 /**
693 * @param xmlwriter
694 * @param name
695 * @param content
696 */
697 function xmlwriter_write_dtd_attlist ($xmlwriter, $name, $content) {}
698
699 /**
700 * @param xmlwriter
701 * @param name
702 * @param isparam
703 */
704 function xmlwriter_start_dtd_entity ($xmlwriter, $name, $isparam) {}
705
706 /**
707 * @param xmlwriter
708 */
709 function xmlwriter_end_dtd_entity ($xmlwriter) {}
710
711 /**
712 * @param xmlwriter
713 * @param name
714 * @param content
715 */
716 function xmlwriter_write_dtd_entity ($xmlwriter, $name, $content) {}
717
718 /**
719 * @param xmlwriter
720 * @param flush[optional]
721 */
722 function xmlwriter_output_memory ($xmlwriter, $flush) {}
723
724 /**
725 * @param xmlwriter
726 * @param empty[optional]
727 */
728 function xmlwriter_flush ($xmlwriter, $empty) {}
729
730 // End of xmlwriter v.0.1
731 ?>