function RetrieveLOB($lob) { if (!isset($this->lobs[$lob])) { return $this->SetError("Retrieve LOB", "it was not specified a valid lob"); } if (!isset($this->lobs[$lob]["Value"])) { $this->lobs[$lob]["Value"] = $this->FetchResult($this->lobs[$lob]["Result"], $this->lobs[$lob]["Row"], $this->lobs[$lob]["Field"]); if (!($this->lobs[$lob]["Data"] = ifx_get_blob($this->lobs[$lob]["Value"]))) { unset($this->lobs[$lob]["Value"]); return $this->SetIFXError("Retrieve LOB", "Could not get a blob contents"); } $this->lobs[$lob]["Position"] = 0; } return 1; }
function BlobDecode($blobid) { return function_exists('ifx_byteasvarchar') ? $blobid : @ifx_get_blob($blobid); }
function BlobDecode($blobid) { return @ifx_get_blob($blobid); }