XMLWriter::setIndent

xmlwriter_set_indent

(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0)

XMLWriter::setIndent -- xmlwriter_set_indentToggle indentation on/off

˵��

���������

XMLWriter::setIndent ( bool $indent ) : bool

���̻����

xmlwriter_set_indent ( resource $xmlwriter , bool $indent ) : bool

Toggles indentation on or off.

����

xmlwriter

�����ڹ��̵��á����޸ĵ� XMLWriter resource������Դ�����ڶ� xmlwriter_open_uri() �� xmlwriter_open_memory() �ĵ��á�

indent

Whether indentation is enabled.

����ֵ

�ɹ�ʱ���� TRUE�� ������ʧ��ʱ���� FALSE��

�μ�