Log/win.php
function close()
    {
        /*
         * If there are still lines waiting to be written, open the output
         * window so that we can drain the buffer.
         */
        if (!$this->_opened && (count($this->_buffer) > 0)) {
            $this->open();
        }

        if ($this->_opened) {
            $this->_writeln('</table>');
            $this->_writeln('</body></html>');
            $this->_drainBuffer();
            $this->_opened = false;
        }

        return ($this->_opened === false);
    }
function close()
    {
        /*
         * If there are still lines waiting to be written, open the output
         * window so that we can drain the buffer.
         */
        if (!$this->_opened && (count($this->_buffer) > 0)) {
            $this->open();
        }

        if ($this->_opened) {
            $this->_writeln('</table>');
            $this->_writeln('</body></html>');
            $this->_drainBuffer();
            $this->_opened = false;
        }

        return ($this->_opened === false);
    }
function close ( ) { /*
         * If there are still lines waiting to be written, open the output
         * window so that we can drain the buffer.
         */ if ( ! $ this -> _opened && ( count ( $ this -> _buffer ) > 0 ) ) { $ this -> open ( ) ; } if ( $ this -> _opened ) { $ this -> _writeln ( '</table>' ) ; $ this -> _writeln ( '</body></html>' ) ; $ this -> _drainBuffer ( ) ; $ this -> _opened = false ; } return ( $ this -> _opened === false ) ; }
Closes the output stream if it is open.  If there are still pending
lines in the output buffer, the output window will be opened so that
the buffer can be drained.

@access public
Closes the output stream if it is open . If there are still pending lines in the output buffer the output window will be opened so that the buffer can be drained .