XMLWriter::writeDTDEntity
(No version information available, might be only in CVS)
XMLWriter::writeDTDEntity — Write full DTD Entity tag
說明
Object oriented style:
XMLWriter
bool writeDTDEntity
( string $name
, string $content
)
Procedural style:
bool xmlwriter_write_dtd_entity
( resource $xmlwriter
, string $name
, string $content
)
Writes a full DTD entity.
參數
- xmlwriter
-
僅用於過程調用。resource 是被修改的 XMLWriter 資源。此資源來自對 xmlwriter_open_uri() 或 xmlwriter_open_memory() 的調用
- name
-
The name of the entity.
- content
-
The content of the entity.
Return值
如果成功則回傳 TRUE,失敗則回傳 FALSE。