function close()
    {
        if ($this->_fileclosed) { // Prevent close() from being called twice.
            return true;
        }
        $res = $this->_storeWorkbook();
        if ($this->isError($res)) {
            return $this->raiseError($res->getMessage());
        }
        $this->_fileclosed = 1;
        return true;
    }
function close()
    {
        if ($this->_fileclosed) { // Prevent close() from being called twice.
            return true;
        }
        $res = $this->_storeWorkbook();
        if ($this->isError($res)) {
            return $this->raiseError($res->getMessage());
        }
        $this->_fileclosed = 1;
        return true;
    }
function close ( ) { if ( $ this -> _fileclosed ) { // Prevent close() from being called twice.
 return true ; } $ res = $ this -> _storeWorkbook ( ) ; if ( $ this -> isError ( $ res ) ) { return $ this -> raiseError ( $ res -> getMessage ( ) ) ; } $ this -> _fileclosed = 1 ; return true ; }
Calls finalization methods.
This method should always be the last one to be called on every workbook

@access public
@return mixed true on success. PEAR_Error on failure
Calls finalization methods . This method should always be the last one to be called on every workbook