Forum und email

XMLWriter::setIndentString

(No version information available, might be only in CVS)

XMLWriter::setIndentString — Set string used for indenting

說明

Object oriented style:

XMLWriter
bool setIndentString ( string $indentString )

Procedural style:

bool xmlwriter_set_indent_string ( resource $xmlwriter , string $indentString )

Sets the string which will be used to indent each element/attribute of the resulting xml.

參數

xmlwriter

僅用於過程調用。resource 是被修改的 XMLWriter 資源。此資源來自對 xmlwriter_open_uri()xmlwriter_open_memory() 的調用

indentString

The indentation string.

Return值

如果成功則回傳 TRUE,失敗則回傳 FALSE