Forum und email

XMLWriter::setIndentString

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

XMLWriter::setIndentString — Définit la chaîne à utiliser pour l'indentation

Description

Style orienté objet (méthode)

XMLWriter
bool setIndentString ( string $indentString )

Style procédural

bool xmlwriter_set_indent_string ( resource $xmlwriter , string $indentString )

Définit la chaîne qui sera utilisée pour indenter chaque élément/attribut d'un document XML.

Liste de paramètres

xmlwriter

Uniquement pour les appels procéduraux. La ressource XMLWriter qui a été modifiée. Cette ressource provient d'un appel à xmlwriter_open_uri() ou xmlwriter_open_memory().

indentString

La chaîne pour l'indentation.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès, FALSE en cas d'échec.