Forum und email
XMLWriter::setIndent

XMLWriter::setIndent

(no version information, might be only in CVS)

XMLWriter::setIndent -- Toggle indentation on/off

Opis

Object oriented style:

class XMLWriter {

bool setIndent ( bool indent )

}

Procedural style:

bool xmlwriter_set_indent ( resource xmlwriter, bool indent )

Toggles indentation on or off.

Parametry

xmlwriter

Jedynie dla wywołań proceduralnych. Zasób XMLWriter, który jest modfikowany. Ten zasób pochodzi, z wywołania funkcji xmlwriter_open_uri() lub xmlwriter_open_memory().

indent

Whether indentation is enabled. Defaults to FALSE.

Zwracane wartości

Zwraca TRUE w przypadku sukcesu, FALSE w przypadku porażki.