Log/win.php
function _drainBuffer()
    {
        $win = $this->_name;
        foreach ($this->_buffer as $line) {
            echo "<script language='JavaScript'>\n";
            echo "$win.document.writeln('" . addslashes($line) . "');\n";
            echo "self.focus();\n";
            echo "</script>\n";
        }

        /* Now that the buffer has been drained, clear it. */
        $this->_buffer = array();
    }
function _drainBuffer()
    {
        $win = $this->_name;
        foreach ($this->_buffer as $line) {
            echo "<script language='JavaScript'>\n";
            echo "$win.document.writeln('" . addslashes($line) . "');\n";
            echo "self.focus();\n";
            echo "</script>\n";
        }

        /* Now that the buffer has been drained, clear it. */
        $this->_buffer = array();
    }
function _drainBuffer ( ) { $ win = $ this -> _name ; foreach ( $ this -> _buffer as $ line ) { echo "<script language='JavaScript'>\n" ; echo "$win.document.writeln('" . addslashes ( $ line ) . "');\n" ; echo "self.focus();\n" ; echo "</script>\n" ; } /* Now that the buffer has been drained, clear it. */ $ this -> _buffer = array ( ) ; }
Writes the contents of the output buffer to the output window.

@access private
Writes the contents of the output buffer to the output window .