(PHP 5 >= 5.2.1, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0)
XMLWriter::writeDtdEntity -- xmlwriter_write_dtd_entity — Komplette DTD-Entität schreiben
Objektorientierter Stil
$name
, string $content
, bool $isParam
= false
, string|null $publicId
= null
, string|null $systemId
= null
, string|null $notationData
= null
) : boolProzeduraler Stil
$writer
, string $name
, string $content
, bool $isParam
= false
, string|null $publicId
= null
, string|null $systemId
= null
, string|null $notationData
= null
) : boolSchreibt eine vollständige DTD-Entität.
writer
Nur für prozedurale Aufrufe. Die XMLWriter-Instanz, die bearbeitet werden soll. Dieses Objekt wird von Aufrufen von xmlwriter_open_uri() oder xmlwriter_open_memory() geliefert.
name
Name der Entität.
content
Inhalt der Entität.
Gibt bei Erfolg true
zurück. Im Fehlerfall wird false
zurückgegeben.
Version | Beschreibung |
---|---|
8.0.0 |
writer erwartet nun eine
XMLWriter-Instanz; vorher wurde eine
resource erwartet.
|
8.0.0 |
publicId , systemId und
notationData sind nun nullbar.
|