PHP: XMLWriter->flush() - Manual

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

search for in the

XMLWriter->fullEndElement() XMLWriter->endPI()

Last updated: Fri, 26 Jan 2007

view this page in

# XMLWriter->flush()

(no version information, might be only in CVS)

XMLWriter->flush() -- Flush current buffer

## Описание

Object oriented style:

class XMLWriter {
mixed flush ( [bool empty] )
}

Procedural style:

mixed xmlwriter_flush ( resource xmlwriter [, bool empty] )

Flushes the current buffer.

## Список параметров

`xmlwriter`

  Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_uri() or xmlwriter_open_memory().

`empty`

  Whether to empty the buffer or no. Default is `TRUE`.

## Возвращаемые значения

If you opened the writer in memory, this function returns the generated XML buffer, Else, if using URI, this function will write the buffer and return the number of written bytes.

add a note User Contributed Notes
XMLWriter->flush()
There are no user contributed notes for this page.
XMLWriter->fullEndElement() XMLWriter->endPI()

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST