(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0)
XMLWriter::writeDtdEntity -- xmlwriter_write_dtd_entity — Écrit une entité DTD
Style orienté objet
$name
, string $content
, bool $pe
, string $pubid
, string $sysid
, string $ndataid
) : boolStyle procédural
$xmlwriter
, string $name
, string $content
, bool $pe
, string $pubid
, string $sysid
, string $ndataid
) : boolÉcrit une entité DTD.
xmlwriterUniquement 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().
nameLe nom de l'entité.
contentLe contenu de l'entité.
Cette fonction retourne TRUE en cas de succès ou FALSE si une erreur survient.