OCI-Lob::rewind

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Moves the internal pointer to the beginning of the large object bool OCI-Lob::rewind ( void ) Sets the internal pointer to the beginning of the large object. Returns: Returns TRUE on success or FALSE on failure. See also: OCI-Lob::seek - Lob::seek O

OCI-Lob::read

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Reads part of the large object string OCI-Lob::read ( int $length ) Reads length bytes from the current position of LOB's internal pointer. Reading stops when length bytes have been read or end of the large object is reached. Internal pointer of the large object will be shifted on the amount of bytes read. Parameters: length The len

OCI-Lob::load

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Returns large object's contents string OCI-Lob::load ( void ) Returns large object's contents. As script execution is terminated when the memory_limit is reached, ensure that the LOB does not exceed this limit. In most cases it's recommended to use OCI-Lob::read instead. Returns: Returns the contents of the object, or FALSE on errors.

OCI-Lob::import

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Imports file data to the LOB bool OCI-Lob::import ( string $filename ) Writes data from the filename in to the current position of large object. Parameters: filename Path to the file. Returns: Returns TRUE on success or FALSE on failure. See al

OCI-Lob::getBuffering

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Returns current state of buffering for the large object bool OCI-Lob::getBuffering ( void ) Tells whether the buffering for the large object is on or off. Returns: Returns FALSE if buffering for the large object is off and TRUE if buffering is used. See also: OCI-Lob::setBuf

OCI-Lob::free

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Frees resources associated with the LOB descriptor bool OCI-Lob::free ( void ) Frees resources associated with the descriptor, previously allocated with oci_new_descriptor(). Returns: Returns TRUE on success or FALSE on failure.

OCI-Lob::flush

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Flushes/writes buffer of the LOB to the server bool OCI-Lob::flush ([ int $flag ] ) OCI-Lob::flush() actually writes data to the server. Parameters: flag By default, resources are not freed, but using flag OCI_LOB_BUFFER_FREE you can do it explicitly. Be sure you know what you're doing - next read/write operation to the same part of L

OCI-Lob::export

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Exports LOB's contents to a file bool OCI-Lob::export ( string $filename [, int $start [, int $length ]] ) Exports LOB contents to a file. Parameters: filename Path to the file. start Indicates from where to start exporting. length Indicates the length of data to

OCI-Lob::erase

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Erases a specified portion of the internal LOB data int OCI-Lob::erase ([ int $offset [, int $length ]] ) Erases a specified portion of the internal LOB data starting at a specified offset. If called without parameters, it erases all LOB data. For BLOBs, erasing means that the existing LOB value is overwritten with zero-bytes. For CLOBs, the existing LOB value is overwritten with space

OCI-Lob::eof

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Tests for end-of-file on a large object's descriptor bool OCI-Lob::eof ( void ) Tells whether the internal pointer of large object is at the end of LOB. Returns: Returns TRUE if internal pointer of large object is at the end of LOB. Otherwise returns FALSE. Notes: This function will return an Oracle error