PHP 8.1.0 RC 4 available for testing

La clase XMLWriter

(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0)

Introducción

Sinopsis de la Clase

class XMLWriter {
/* Métodos */
endAttribute(): bool
xmlwriter_end_attribute(resource $xmlwriter): bool
endCdata(): bool
xmlwriter_end_cdata(resource $xmlwriter): bool
endComment(): bool
xmlwriter_end_comment(resource $xmlwriter): bool
endDocument(): bool
xmlwriter_end_document(resource $xmlwriter): bool
endDtd(): bool
xmlwriter_end_dtd(resource $xmlwriter): bool
xmlwriter_end_dtd_attlist(resource $xmlwriter): bool
xmlwriter_end_dtd_element(resource $xmlwriter): bool
endDtdEntity(): bool
xmlwriter_end_dtd_entity(resource $xmlwriter): bool
endElement(): bool
xmlwriter_end_element(resource $xmlwriter): bool
endPi(): bool
xmlwriter_end_pi(resource $xmlwriter): bool
flush(bool $empty = true): mixed
xmlwriter_flush(resource $xmlwriter, bool $empty = true): mixed
xmlwriter_full_end_element(resource $xmlwriter): bool
openMemory(): bool
xmlwriter_open_memory(): resource
openUri(string $uri): bool
xmlwriter_open_uri(string $uri): resource
outputMemory(bool $flush = true): string
xmlwriter_output_memory(resource $xmlwriter, bool $flush = true): string
setIndent(bool $indent): bool
xmlwriter_set_indent(resource $xmlwriter, bool $indent): bool
setIndentString(string $indentString): bool
xmlwriter_set_indent_string(resource $xmlwriter, string $indentString): bool
startAttribute(string $name): bool
xmlwriter_start_attribute(resource $xmlwriter, string $name): bool
startAttributeNs(string $prefix, string $name, string $uri): bool
xmlwriter_start_attribute_ns(
    resource $xmlwriter,
    string $prefix,
    string $name,
    string $uri
): bool
startCdata(): bool
xmlwriter_start_cdata(resource $xmlwriter): bool
startComment(): bool
xmlwriter_start_comment(resource $xmlwriter): bool
startDocument(string $version = 1.0, string $encoding = null, string $standalone = ?): bool
xmlwriter_start_document(
    resource $xmlwriter,
    string $version = 1.0,
    string $encoding = null,
    string $standalone = ?
): bool
startDtd(string $qualifiedName, string $publicId = ?, string $systemId = ?): bool
xmlwriter_start_dtd(
    resource $xmlwriter,
    string $qualifiedName,
    string $publicId = ?,
    string $systemId = ?
): bool
startDtdAttlist(string $name): bool
xmlwriter_start_dtd_attlist(resource $xmlwriter, string $name): bool
startDtdElement(string $qualifiedName): bool
xmlwriter_start_dtd_element(resource $xmlwriter, string $qualifiedName): bool
startDtdEntity(string $name, bool $isparam): bool
xmlwriter_start_dtd_entity(resource $xmlwriter, string $name, bool $isparam): bool
startElement(string $name): bool
xmlwriter_start_element(resource $xmlwriter, string $name): bool
startElementNs(string $prefix, string $name, string $uri): bool
xmlwriter_start_element_ns(
    resource $xmlwriter,
    string $prefix,
    string $name,
    string $uri
): bool
startPi(string $target): bool
xmlwriter_start_pi(resource $xmlwriter, string $target): bool
text(string $content): bool
xmlwriter_text(resource $xmlwriter, string $content): bool
writeAttribute(string $name, string $value): bool
xmlwriter_write_attribute(resource $xmlwriter, string $name, string $value): bool
writeAttributeNs(
    string $prefix,
    string $name,
    string $uri,
    string $content
): bool
xmlwriter_write_attribute_ns(
    resource $xmlwriter,
    string $prefix,
    string $name,
    string $uri,
    string $content
): bool
writeCdata(string $content): bool
xmlwriter_write_cdata(resource $xmlwriter, string $content): bool
writeComment(string $content): bool
xmlwriter_write_comment(resource $xmlwriter, string $content): bool
writeDtd(
    string $name,
    string $publicId = ?,
    string $systemId = ?,
    string $subset = ?
): bool
xmlwriter_write_dtd(
    resource $xmlwriter,
    string $name,
    string $publicId = ?,
    string $systemId = ?,
    string $subset = ?
): bool
writeDtdAttlist(string $name, string $content): bool
xmlwriter_write_dtd_attlist(resource $xmlwriter, string $name, string $content): bool
writeDtdElement(string $name, string $content): bool
xmlwriter_write_dtd_element(resource $xmlwriter, string $name, string $content): bool
writeDtdEntity(
    string $name,
    string $content,
    bool $pe,
    string $pubid,
    string $sysid,
    string $ndataid
): bool
xmlwriter_write_dtd_entity(
    resource $xmlwriter,
    string $name,
    string $content,
    bool $pe,
    string $pubid,
    string $sysid,
    string $ndataid
): bool
writeElement(string $name, string $content = ?): bool
xmlwriter_write_element(resource $xmlwriter, string $name, string $content = ?): bool
writeElementNs(
    string $prefix,
    string $name,
    string $uri,
    string $content = ?
): bool
xmlwriter_write_element_ns(
    resource $xmlwriter,
    string $prefix,
    string $name,
    string $uri,
    string $content = ?
): bool
writePi(string $target, string $content): bool
xmlwriter_write_pi(resource $xmlwriter, string $target, string $content): bool
writeRaw(string $content): bool
xmlwriter_write_raw(resource $xmlwriter, string $content): bool
}

Tabla de contenidos

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top