(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0)
XMLWriter::setIndentString -- xmlwriter_set_indent_string — Set string used for indenting
Об'єктно-орієнтований стиль
Процедурний стиль
Sets the string which will be used to indent each element/attribute of the resulting xml.
writerТільки для процедурних викликів. Примірник XMLWriter, що буде оброблятися. Цей об'єкт повертається функцією xmlwriter_open_uri() або xmlwriter_open_memory().
indentationThe indentation string.
| Версія | Опис | 
|---|---|
| 8.0.0 | Тепер writerмає бути примірником
  XMLWriter. Раніше очікувався resource. | 
Зауваження:
The indent is reset when an xmlwriter is opened.
