XMLWriter::writeDtdEntity
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.2.1, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0)
Write full DTD Entity tag
Description
Oop
XMLWriter::writeDtdEntity(string $name, string $content, bool $isParam = false, string|null $publicId = null, string|null $systemId = null, string|null $notationData = null): bool
Procedural
xmlwriter_write_dtd_entity(XMLWriter $writer, string $name, string $content, bool $isParam = false, string|null $publicId = null, string|null $systemId = null, string|null $notationData = null): bool
Writes a full DTD entity.
Parameters
nameThe name of the entity.
contentThe content of the entity.
Return Values
Success
Changelog
| Version | Description |
|---|---|
| 8.0.0 | publicId, systemId and notationData are nullable now. |
See Also
XMLWriter::startDtdEntityXMLWriter::endDtdEntity