# The OCI-Collection class

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0)

## Introduction

OCI8 Collection functionality.

## Class synopsis

OCI-Collection {
/* Methods */
append ( mixed `$value` ) : bool
assign ( OCI-Collection `$from` ) : bool
assignElem ( int `$index` , mixed `$value` ) : bool
free ( ) : bool
getElem ( int `$index` ) : mixed
max ( ) : int
size ( ) : int
trim ( int `$num` ) : bool
}

## Table of Contents

- OCI-Collection::append — Appends element to the collection
- OCI-Collection::assign — Assigns a value to the collection from another existing collection
- OCI-Collection::assignElem — Assigns a value to the element of the collection
- OCI-Collection::free — Frees the resources associated with the collection object
- OCI-Collection::getElem — Returns value of the element
- OCI-Collection::max — Returns the maximum number of elements in the collection
- OCI-Collection::size — Returns size of the collection
- OCI-Collection::trim — Trims elements from the end of the collection