XMLWriter
PHP Manual

XMLWriter::setIndent

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

XMLWriter::setIndentActive ou non l'indentation

Description

Style orienté objet :

XMLWriter
bool setIndent ( bool $indent )

Style procédural :

bool xmlwriter_set_indent ( resource $xmlwriter , bool $indent )

Active ou non l'indentation.

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().

indent

SI l'on doit activer l'indentation ou non. Par défaut, ce paramètre vaut TRUE.

Valeurs de retour

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

Voir aussi


XMLWriter
PHP Manual