XMLWriter::flush
(PHP 5 >= 5.1.2, PECL xmlwriter >= 1.0.0)
XMLWriter::flush — Nivela el actual buffer
Descripción
Estilo orientado a objetos
mixed XMLWriter::flush
([ bool $empty
] )
Estilo por procesos
Nivela el actual buffer.
Parámetros
- xmlwriter
-
Sólo para llamadas procedimentales. El resource XMLWriter que está siendo modificado. Este recurso proviene de una llamada a xmlwriter_open_uri() o xmlwriter_open_memory().
- empty
-
Whether to empty the buffer or no. Default is TRUE.
Valores devueltos
Si se abrió el documento en memoria, ésta función devolverá el buffer XML generado, Además, si se usa URI, ésta función va a escribir el buffer y devolver el número de bytes escritos.
There are no user contributed notes for this page.
