PHP.mk документација

XMLWriter

Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.

class.xmlwriter.php PHP.net прокси Преводот се освежува
Оригинал на PHP.net
Патека class.xmlwriter.php Локална патека за оваа страница.
Извор php.net/manual/en Оригиналниот HTML се реупотребува и локално се стилизира.
Режим Прокси + превод во позадина Кодовите, табелите и белешките остануваат читливи во истиот тек.
XMLWriter

Референца за `class.xmlwriter.php` со подобрена типографија и навигација.

class.xmlwriter.php

XMLWriter класа

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

Вовед

Синопсис на класата

class XMLWriter {
/* Методи */
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 $flush = true): string
public setIndent(bool $enable): bool
public setIndentString(string $indentation): bool
public startAttribute(string $name): bool
public startAttributeNs(?string $prefix, string $name, ?string $namespace): bool
public startCdata(): bool
public startComment(): bool
public startDocument(?string $version = "1.0", ?string $encoding = null, ?string $standalone = null): bool
public startDtd(string $qualifiedName, ?string $publicId = null, ?string $systemId = null): bool
public startDtdAttlist(string $name): bool
public startDtdElement(string $qualifiedName): bool
public startDtdEntity(string $name, bool $isParam): bool
public startElement(string $name): bool
public startElementNs(?string $prefix, string $name, ?string $namespace): bool
public startPi(string $target): bool
public text(string $content): bool
public static toMemory(): static
public static toStream(resource $stream): static
public static toUri(string $uri): static
public writeAttribute(string $name, string $value): bool
public writeAttributeNs(
         ?string $prefix,
         string $name,
         ?string $namespace,
         string $value
): bool
public writeCdata(string $content): bool
public writeComment(string $content): bool
public writeDtd(
         string $name,
         ?string $publicId = null,
         ?string $systemId = null,
         ?string $content = null
): bool
public writeDtdAttlist(string $name, string $content): bool
public writeDtdElement(string $name, string $content): bool
public writeDtdEntity(
         string $name,
         string $content,
         bool $isParam = false,
         ?string $publicId = null,
         ?string $systemId = null,
         ?string $notationData = null
): bool
public writeElement(string $name, ?string $content = null): bool
public writeElementNs(
         ?string $prefix,
         string $name,
         ?string $namespace,
         ?string $content = null
): bool
public writePi(string $target, string $content): bool
public writeRaw(string $content): bool
}

Содржина

Белешки од корисници

Нема белешки од корисници за оваа страница.
Навигација

Прелистувај сродни теми и функции.

На оваа страница

Автоматски outline од активната документација.

Насловите ќе се појават тука по вчитување.

Попрегледно читање

Примерите, changelog табелите и user notes се визуелно издвоени за да не се губат во долгата содржина.

Брз совет Користи го outline-от Скокни директно на главните секции од активната страница.
Извор Оригиналниот линк останува достапен Кога ти треба целосен upstream context, отвори го PHP.net во нов tab.