PHP Velho Oeste 2024

XMLWriter::writeDtd

xmlwriter_write_dtd

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

XMLWriter::writeDtd -- xmlwriter_write_dtdÉcrit une DTD

Description

Style orienté objet

XMLWriter::writeDtd ( string $name [, string $publicId [, string $systemId [, string $subset ]]] ) : bool

Style procédural

xmlwriter_write_dtd ( resource $xmlwriter , string $name [, string $publicId [, string $systemId [, string $subset ]]] ) : bool

Écrit une DTD.

Liste de paramètres

xmlwriter

Uniquement pour les appels procéduraux. La ressource XMLWriter qui a été modifiée. Cette ressource provient d'un appel à xmlwriter_open_uri() ou xmlwriter_open_memory().

name

Le nom de la DTD.

publicId

L'identifiant publique externe.

systemId

L'identifiant système externe.

subset

Le contenu de la DTD.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès ou FALSE si une erreur survient.

Voir aussi

add a note add a note

User Contributed Notes 1 note

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