XMLWriter Funkcje
PHP Manual

XMLWriter::setIndent

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

XMLWriter::setIndentToggle indentation on/off

Opis

Object oriented style:

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 powodzenia, FALSE w przypadku błędu.

Patrz także


XMLWriter Funkcje
PHP Manual