(PHP 5 >= 5.2.1, PHP 7, PECL xmlwriter >= 0.1.0)
XMLWriter::writeDtdEntity -- xmlwriter_write_dtd_entity — Write full DTD Entity tag
Stil obiect-orientat
$name
, string $content
[, bool $isParam = false
[, string|null $publicId = null
[, string|null $systemId = null
[, string|null $notationData = null
]]]] ) : boolStil procedural
$writer
, string $name
, string $content
[, bool $isParam = false
[, string|null $publicId = null
[, string|null $systemId = null
[, string|null $notationData = null
]]]] ) : boolWrites a full DTD entity.
xmlwriter
Numai pentru apelurile procedurale. Resursa XMLWriter care este modificată. Această resursă se obține în urma apelării xmlwriter_open_uri() sau xmlwriter_open_memory ().
nameThe name of the entity.
contentThe content of the entity.
Întoarce valoarea true în cazul
succesului sau false în cazul eșecului.
| Versiune | Descriere |
|---|---|
| 8.0.0 |
writer expects an XMLWriter
instance now; previously, a resource was expected.
|
| 8.0.0 |
publicId, systemId and
notationData are nullable now.
|