OCI-Collection::trim
OCI-Lob::append
OCI8
PHP Manual

# The OCI-Lob class

(PHP 5, PECL OCI8 >= 1.1.0)

## Introduction

OCI8 LOB functionality for large binary (BLOB) and character (CLOB) objects.

## Class synopsis

OCI-Lob {
/* Methods */
bool append ( OCI-Lob `$lob_from` )
bool close ( void )
bool eof ( void )
int erase ([ int `$offset` [, int `$length` ]] )
bool export ( string `$filename` [, int `$start` [, int `$length` ]] )
bool flush ([ int `$flag` ] )
bool free ( void )
bool getBuffering ( void )
bool import ( string `$filename` )
string load ( void )
string read ( int `$length` )
bool rewind ( void )
bool save ( string `$data` [, int `$offset` ] )
bool seek ( int `$offset` [, int `$whence` = `OCI_SEEK_SET` ] )
bool setBuffering ( bool `$on_off` )
int size ( void )
int tell ( void )
bool truncate ([ int `$length` = 0 ] )
int write ( string `$data` [, int `$length` ] )
bool writeTemporary ( string `$data` [, int `$lob_type` = OCI_TEMP_CLOB ] )
}

## Table of Contents

- OCI-Lob::append — Appends data from the large object to another large object
- OCI-Lob::close — Closes LOB descriptor
- OCI-Lob::eof — Tests for end-of-file on a large object's descriptor
- OCI-Lob::erase — Erases a specified portion of the internal LOB data
- OCI-Lob::export — Exports LOB's contents to a file
- OCI-Lob::flush — Flushes/writes buffer of the LOB to the server
- OCI-Lob::free — Frees resources associated with the LOB descriptor
- OCI-Lob::getBuffering — Returns current state of buffering for the large object
- OCI-Lob::import — Imports file data to the LOB
- OCI-Lob::load — Returns large object's contents
- OCI-Lob::read — Reads part of the large object
- OCI-Lob::rewind — Moves the internal pointer to the beginning of the large object
- OCI-Lob::save — Saves data to the large object
- OCI-Lob::saveFile — Alias of OCI-Lob::import
- OCI-Lob::seek — Sets the internal pointer of the large object
- OCI-Lob::setBuffering — Changes current state of buffering for the large object
- OCI-Lob::size — Returns size of large object
- OCI-Lob::tell — Returns the current position of internal pointer of large object
- OCI-Lob::truncate — Truncates large object
- OCI-Lob::write — Writes data to the large object
- OCI-Lob::writeTemporary — Writes a temporary large object
- OCI-Lob::writeToFile — Alias of OCI-Lob::export

OCI-Collection::trim
OCI-Lob::append
OCI8
PHP Manual