XMLWriter::text
(PHP 5 >= 5.1.2, PECL xmlwriter:0.1-2.0.4)
XMLWriter::text — Write text
說明
Object oriented style:
XMLWriter
bool text
( string $content
)
Procedural style:
bool xmlwriter_text
( resource $xmlwriter
, string $content
)
Writes a text.
參數
- xmlwriter
-
僅用於過程調用。resource 是被修改的 XMLWriter 資源。此資源來自對 xmlwriter_open_uri() 或 xmlwriter_open_memory() 的調用
- content
-
The contents of the text.
Return值
如果成功則回傳 TRUE,失敗則回傳 FALSE。