XMLWriter::writeDTD
xmlwriter_write_dtd
(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
XMLWriter::writeDTD -- xmlwriter_write_dtd — Écrit une DTD
Description
Style orienté objet
bool XMLWriter::writeDTD
( string
$name
[, string $publicId
[, string $systemId
[, string $subset
]]] )Style procédural
bool xmlwriter_write_dtd
( resource
$xmlwriter
, string $name
[, string $publicId
[, string $systemId
[, string $subset
]]] )É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.
