XMLWriter::setIndent
(No version information available, might be only in CVS)
XMLWriter::setIndent — Toggle indentation on/off
Descrição
Object oriented style:
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.
Valor Retornado
Retorna TRUE em caso de sucesso ou FALSE em falhas.