XMLWriter::setIndent
(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
XMLWriter::setIndent — Active 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.
XMLWriter::setIndent
There are no user contributed notes for this page.
