XMLWriter::writeDtd

xmlwriter_write_dtd

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

XMLWriter::writeDtd -- xmlwriter_write_dtdWrite full DTD tag

Descrierea

Stil obiect-orientat

public XMLWriter::writeDtd ( string $name [, string|null $publicId = null [, string|null $systemId = null [, string|null $content = null ]]] ) : bool

Stil procedural

xmlwriter_write_dtd ( XMLWriter $writer , string $name [, string|null $publicId = null [, string|null $systemId = null [, string|null $content = null ]]] ) : bool

Writes a full DTD.

Parametri

xmlwriter

Numai pentru apelurile procedurale. Resursa XMLWriter care este modificată. Această resursă se obține în urma apelării xmlwriter_open_uri() sau xmlwriter_open_memory ().

name

The DTD name.

publicId

The external subset public identifier.

systemId

The external subset system identifier.

content

The content of the DTD.

Valorile întoarse

Întoarce valoarea true în cazul succesului sau false în cazul eșecului.

Istoricul schimbărilor

Versiune Descriere
8.0.0 writer expects an XMLWriter instance now; previously, a resource was expected.

A se vedea și

add a note add a note

User Contributed Notes 1 note

up
3
test2 at twinmail dot de
14 years ago
Use NULL for $publicId to force 'SYSTEM' instead of 'PUBLIC' output.
To Top