Flush Method
Flushes the parser and checks its end state.
Object Oriented Interface
public function doFlush();
Procedural Interface
ipworks_xmlp_do_flush($res);
Remarks
When Flush is called, the parser flushes all its buffers, firing events as necessary, and then checks its end state. If Validate is true, the parser verifies that all open elements were closed, returning an error if not.