irm-1.6-b3/MDB/ibase.php
/**
     * fetch a lob value from a result set
     *
     * @param int $lob handle to a lob created by the createLob() function
     * @return mixed MDB_OK on success, a MDB error on failure
     * @access private
     */
fetch a lob value from a result set
@param int $lob handle to a lob created by the createLob() function
@return mixed MDB_OK on success, a MDB error on failure
@access private
fetch a lob value from a result set @param int $lob handle to a lob created by the createLob () function @return mixed MDB_OK on success a MDB error on failure @access private
function _retrieveLob($lob)
    {
        if (!isset($this->lobs[$lob])) {
            return($this->raiseError(MDB_ERROR, NULL, NULL,
                'Retrieve LOB: it was not specified a valid lob'));
        }
        if (!isset($this->lobs[$lob]['Value'])) {
            $this->lobs[$lob]['Value'] = $this->fetch($this->lobs[$lob]['Result'],
                                                      $this->lobs[$lob]['Row'],
                                                      $this->lobs[$lob]['Field']);
            if (!$this->lobs[$lob]['Handle'] = @ibase_blob_open($this->lobs[$lob]['Value'])) {
                unset($this->lobs[$lob]['Value']);
                return($this->raiseError(MDB_ERROR, NULL, NULL,
                    'Retrieve LOB: Could not open fetched large object field' . @ibase_errmsg()));
            }
        }
        return MDB_OK;
    }
function _retrieveLob ( $ lob ) { if ( ! isset ( $ this -> lobs [ $ lob ] ) ) { return ( $ this -> raiseError ( MDB_ERROR , NULL , NULL , 'Retrieve LOB: it was not specified a valid lob' ) ) ; } if ( ! isset ( $ this -> lobs [ $ lob ] [ 'Value' ] ) ) { $ this -> lobs [ $ lob ] [ 'Value' ] = $ this -> fetch ( $ this -> lobs [ $ lob ] [ 'Result' ] , $ this -> lobs [ $ lob ] [ 'Row' ] , $ this -> lobs [ $ lob ] [ 'Field' ] ) ; if ( ! $ this -> lobs [ $ lob ] [ 'Handle' ] = @ ibase_blob_open ( $ this -> lobs [ $ lob ] [ 'Value' ] ) ) { unset ( $ this -> lobs [ $ lob ] [ 'Value' ] ) ; return ( $ this -> raiseError ( MDB_ERROR , NULL , NULL , 'Retrieve LOB: Could not open fetched large object field' . @ ibase_errmsg ( ) ) ) ; } } return MDB_OK ; }
fetch a lob value from a result set
 @param int $lob handle to a lob created by the createLob() function
 @return mixed MDB_OK on success, a MDB error on failure
 @access private
fetch a lob value from a result set @param int $lob handle to a lob created by the createLob () function @return mixed MDB_OK on success a MDB error on failure @access private