XMLWriter::setIndent

(no version information, might be only in CVS)

XMLWriter::setIndent -- Toggle indentation on/off

Descrição

Object oriented style:

class XMLWriter {

bool setIndent ( bool indent )

}

Procedural style:

bool xmlwriter_set_indent ( resource xmlwriter, bool indent )

Toggles indentation on or off.

Parâmetros

xmlwriter

Apenas para chamadas de procedimentos. O recurso XMLWriter resource que esta sendo modificado. Este recurso vem de uma chamada a xmlwriter_open_uri() ou xmlwriter_open_memory().

indent

Whether indentation is enabled. Defaults to FALSE.

Valores de retornado

Retorna TRUE em caso de sucesso ou FALSE em falhas.

Veja também

XMLWriter::setIndentString