OCI_Lob
class OCI_Lob (View source)
OCI8 LOB functionality for large binary (BLOB) and character (CLOB) objects.
Methods
(PHP 5, PECL OCI8 >= 1.1.0)
Returns large object's contents
(PHP 5, PECL OCI8 >= 1.1.0)
Returns the current position of internal pointer of large object
(PHP 5, PECL OCI8 >= 1.1.0)
Truncates large object
(PHP 5, PECL OCI8 >= 1.1.0)
Erases a specified portion of the internal LOB data
(PHP 5, PECL OCI8 >= 1.1.0)
Flushes/writes buffer of the LOB to the server
(PHP 5, PECL OCI8 >= 1.1.0)
Changes current state of buffering for the large object
(PHP 5, PECL OCI8 >= 1.1.0)
Returns current state of buffering for the large object
(PHP 5, PECL OCI8 >= 1.1.0)
Moves the internal pointer to the beginning of the large object
(PHP 5, PECL OCI8 >= 1.1.0)
Reads part of the large object
(PHP 5, PECL OCI8 >= 1.1.0)
Tests for end-of-file on a large object's descriptor
(PHP 5, PECL OCI8 >= 1.1.0)
Sets the internal pointer of the large object
(PHP 5, PECL OCI8 >= 1.1.0)
Writes data to the large object
(PHP 5, PECL OCI8 >= 1.1.0)
Returns size of large object
(PHP 5, PECL OCI8 >= 1.1.0)
Alias of {OCI_Lob::export}
(PHP 5, PECL OCI8 >= 1.1.0)
Exports LOB's contents to a file
(PHP 5, PECL OCI8 >= 1.1.0)
Imports file data to the LOB
(PHP 5, PECL OCI8 >= 1.1.0)
Writes a temporary large object
(PHP 5, PECL OCI8 >= 1.1.0)
Closes LOB descriptor
(PHP 5, PECL OCI8 >= 1.1.0)
Saves data to the large object
(PHP 5, PECL OCI8 >= 1.1.0)
Alias of {OCI_Lob::import}
(PHP 5, PECL OCI8 >= 1.1.0)
Frees resources associated with the LOB descriptor
Details
string|false
load()
(PHP 5, PECL OCI8 >= 1.1.0)
Returns large object's contents
int|false
tell()
(PHP 5, PECL OCI8 >= 1.1.0)
Returns the current position of internal pointer of large object
bool
truncate(int $length = 0)
(PHP 5, PECL OCI8 >= 1.1.0)
Truncates large object
int|false
erase(int $offset = null, int $length = null)
(PHP 5, PECL OCI8 >= 1.1.0)
Erases a specified portion of the internal LOB data
bool
flush(int $flag = null)
(PHP 5, PECL OCI8 >= 1.1.0)
Flushes/writes buffer of the LOB to the server
bool
setbuffering(bool $on_off)
(PHP 5, PECL OCI8 >= 1.1.0)
Changes current state of buffering for the large object
bool
getbuffering()
(PHP 5, PECL OCI8 >= 1.1.0)
Returns current state of buffering for the large object
bool
rewind()
(PHP 5, PECL OCI8 >= 1.1.0)
Moves the internal pointer to the beginning of the large object
string|false
read(int $length)
(PHP 5, PECL OCI8 >= 1.1.0)
Reads part of the large object
bool
eof()
(PHP 5, PECL OCI8 >= 1.1.0)
Tests for end-of-file on a large object's descriptor
bool
seek(int $offset, int $whence = OCI_SEEK_SET)
(PHP 5, PECL OCI8 >= 1.1.0)
Sets the internal pointer of the large object
int|false
write(string $data, int $length = null)
(PHP 5, PECL OCI8 >= 1.1.0)
Writes data to the large object
bool
append(OCI_Lob $lob_from)
(PHP 5, PECL OCI8 >= 1.1.0)
Appends data from the large object to another large object
int|false
size()
(PHP 5, PECL OCI8 >= 1.1.0)
Returns size of large object
bool
writetofile($filename, $start, $length)
(PHP 5, PECL OCI8 >= 1.1.0)
Alias of {OCI_Lob::export}
bool
export(string $filename, int $start = null, int $length = null)
(PHP 5, PECL OCI8 >= 1.1.0)
Exports LOB's contents to a file
bool
import(string $filename)
(PHP 5, PECL OCI8 >= 1.1.0)
Imports file data to the LOB
bool
writeTemporary(string $data, int $lob_type = OCI_TEMP_CLOB)
(PHP 5, PECL OCI8 >= 1.1.0)
Writes a temporary large object
bool
close()
(PHP 5, PECL OCI8 >= 1.1.0)
Closes LOB descriptor
bool
save(string $data, int $offset = null)
(PHP 5, PECL OCI8 >= 1.1.0)
Saves data to the large object
bool
savefile($filename)
(PHP 5, PECL OCI8 >= 1.1.0)
Alias of {OCI_Lob::import}
bool
free()
(PHP 5, PECL OCI8 >= 1.1.0)
Frees resources associated with the LOB descriptor