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