XMLWriter::setIndent
(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
XMLWriter::setIndent — Toggle indentation on/off
Opis
Styl obiektowy
XMLWriter
bool setIndent
( bool $indent
)
Styl proceduralny
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.
XMLWriter::setIndent
There are no user contributed notes for this page.
