XMLWRITER_WRITE_DTD_ENTITY(3) 1 XMLWRITER_WRITE_DTD_ENTITY(3)
XMLWriter::writeDTDEntity - Write full DTD Entity tag
Object oriented style
SYNOPSIS
bool XMLWriter::writeDTDEntity (string $name, string $content, bool $pe, string $pubid, string $sysid, string $ndataid)
DESCRIPTION
Procedural style
bool xmlwriter_write_dtd_entity (resource $xmlwriter, string $name, string $content, bool $pe, string $pubid, string $sysid, string
$ndataid)
Writes a full DTD entity.
PARAMETERS
o $
xmlwriter -Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xml-
writer_open_uri(3) or xmlwriter_open_memory(3).
o $name
- The name of the entity.
o $content
- The content of the entity.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
XMLWriter::startDTDEntity, XMLWriter::endDTDEntity.
PHP Documentation Group XMLWRITER_WRITE_DTD_ENTITY(3)