(PHP 5 >= 5.2.1, PHP 7, PECL xmlwriter >= 0.1.0)
XMLWriter::writeDtdEntity -- xmlwriter_write_dtd_entity — Komplette DTD-Entität schreiben
Objektorientierter Stil
$name
, string $content
, bool $pe
, string $pubid
, string $sysid
, string $ndataid
) : boolProzeduraler Stil
$xmlwriter
, string $name
, string $content
, bool $pe
, string $pubid
, string $sysid
, string $ndataid
) : boolSchreibt eine vollständige DTD-Entität.
xmlwriterNur für prozedurale Aufrufe. Die XMLWriter-resource, die bearbeitet werden soll. Diese Ressource wird von Aufrufen von xmlwriter_open_uri() oder xmlwriter_open_memory() geliefert.
nameName der Entität.
contentInhalt der Entität.
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.