PHP 8.1.31 Released!

XMLWriter sınıfı

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

Giriş

Sınıf Sözdizimi

class XMLWriter {
/* Yöntemler */
public endAttribute(): bool
public endCdata(): bool
public endComment(): bool
public endDocument(): bool
public endDtd(): bool
public endDtdEntity(): bool
public endElement(): bool
public endPi(): bool
public flush(bool $empty = true): string|int
public openMemory(): bool
public openUri(string $uri): bool
public outputMemory(bool $boşalt = true): string
public setIndent(bool $girintile): bool
public setIndentString(string $girinti): bool
public startAttribute(string $isim): bool
public startAttributeNs(?string $önek, string $isim, ?string $uri): bool
public startCdata(): bool
public startComment(): bool
public startDocument(?string $version = "1.0", ?string $encoding = null, ?string $standalone = null): bool
public startDtd(string $kök_eleman, ?string $publicId = null, ?string $systemId = null): bool
public startDtdAttlist(string $isim): bool
public startDtdElement(string $isim): bool
public startDtdEntity(string $isim, bool $değiştige_var): bool
public startElement(string $isim): bool
public startElementNs(?string $önek, string $isim, ?string $uri): bool
public startPi(string $hedef): bool
public text(string $içerik): bool
public writeAttribute(string $isim, string $değer): bool
public writeAttributeNs(
    ?string $önek,
    string $isim,
    ?string $uri,
    string $değer
): bool
public writeCdata(string $içerik): bool
public writeComment(string $içerik): bool
public writeDtd(
    string $isim,
    ?string $publicId = null,
    ?string $systemId = null,
    ?string $altküme = null
): bool
public writeDtdAttlist(string $isim, string $içerik): bool
public writeDtdElement(string $name, string $içerik): bool
public writeDtdEntity(
    string $isim,
    string $içerik,
    bool $isParam = false,
    ?string $publicId = null,
    ?string $systemId = null,
    ?string $notationData = null
): bool
public writeElement(string $etiket, ?string $içerik = null): bool
public writeElementNs(
    ?string $önek,
    string $eleman,
    ?string $uri,
    ?string $içerik = null
): bool
public writePi(string $hedef, string $içerik): bool
public writeRaw(string $içerik): bool
}

İçindekiler

add a note

User Contributed Notes

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