(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0)
XMLWriter::writeDtd -- xmlwriter_write_dtd — Write full DTD tag
Estilo orientado à objeto
$name
[, string $publicId
[, string $systemId
[, string $subset
]]] ) : boolEstilo procedural
$xmlwriter
, string $name
[, string $publicId
[, string $systemId
[, string $subset
]]] ) : boolWrites a full DTD.
xmlwriterApenas para chamadas de procedimentos. O recurso XMLWriter resource que esta sendo modificado. Este recurso vem de uma chamada a xmlwriter_open_uri() ou xmlwriter_open_memory().
nameThe DTD name.
publicIdThe external subset public identifier.
systemIdThe external subset system identifier.
subsetThe content of the DTD.
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.