Home > PHP > Function > XMLWriter > XMLWriter::writeDTDEntity()

XMLWriter::writeDTDEntity()

XMLWriter::writeDTDEntity - Write full DTD Entity tag

Syntax

bool XMLWriter::writeDTDEntity (string $name, string $content, bool $pe, string $pubid, string $sysid, string $ndataid, resource $xmlwriter, string $name, string $content, bool $pe, string $pubid, string $sysid, string $ndataid, string $name, string $content, bool $pe, string $pubid, string $sysid, string $ndataid, resource $xmlwriter, string $name, string $content, bool $pe, string $pubid, string $sysid, string $ndataid)

Arguments

  • name - Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_uri() or xmlwriter_open_memory().
  • content - The name of the entity.
  • pe - The content of the entity.
  • pubid
  • sysid
  • ndataid
  • xmlwriter
  • name
  • content
  • pe
  • pubid
  • sysid
  • ndataid
  • name - Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_uri() or xmlwriter_open_memory().
  • content - The name of the entity.
  • pe - The content of the entity.
  • pubid
  • sysid
  • ndataid
  • xmlwriter
  • name
  • content
  • pe
  • pubid
  • sysid
  • ndataid

Description

Object oriented style

Version

PHP 5.1.2, PECL xmlwriter >= 0.1.0

Return value

Returns TRUE on success or FALSE on failure.