downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

XMLWriter::fullEndElement> <XMLWriter::endPI
[edit] Last updated: Fri, 10 Feb 2012

view this page in

XMLWriter::flush

xmlwriter_flush

(PHP 5 >= 5.1.2, PECL xmlwriter >= 1.0.0)

XMLWriter::flush -- xmlwriter_flushAffiche le buffer courant

Description

Style orienté objet

mixed XMLWriter::flush ([ bool $empty = true ] )

Style procédural

mixed xmlwriter_flush ( resource $xmlwriter [, bool $empty = true ] )

Affiche le buffer courant.

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

empty

Si l'on doit vider le buffer ou non. Par défaut, ce paramètre vaut TRUE.

Valeurs de retour

Si vous aviez ouvert le gestionnaire d'écriture en mémoire, cette fonction retourne le buffer XML généré. Si vous utilisez une URI, cette fonction écrira le buffer et retournera le nombre d'octets écrits.



add a note add a note User Contributed Notes XMLWriter::flush
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites