<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>The OCI-Collection class</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.oci-statement-type.html">oci_statement_type</a></div> <div class="next" style="text-align: right; float: right;"><a href="oci-collection.append.html">OCI-Collection::append</a></div> <div class="up"><a href="book.oci8.html">OCI8</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="class.OCI-Collection" class="reference"> <h1 class="title">The OCI-Collection class</h1> <div class="partintro"><p class="verinfo">(PHP 5, PECL OCI8 >= 1.1.0)</p> <div class="section" id="OCI-Collection.intro"> <h2 class="title">Introduction</h2> <p class="para"> OCI8 Collection functionality. </p> </div> <div class="section" id="OCI-Collection.synopsis"> <h2 class="title">Class synopsis</h2> <div class="classsynopsis"> <div class="ooclass"></div> <div class="classsynopsisinfo"> <span class="ooclass"> <strong class="classname">OCI-Collection</strong> </span> {</div> <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><a href="oci-collection.append.html" class="methodname">append</a></span> ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$value</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><a href="oci-collection.assign.html" class="methodname">assign</a></span> ( <span class="methodparam"><span class="type"><span class="type OCI-Collection">OCI-Collection</span></span> <code class="parameter">$from</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><a href="oci-collection.assignelem.html" class="methodname">assignElem</a></span> ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$index</code></span> , <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$value</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><a href="oci-collection.free.html" class="methodname">free</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="type">mixed</span> <span class="methodname"><a href="oci-collection.getelem.html" class="methodname">getElem</a></span> ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$index</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><a href="oci-collection.max.html" class="methodname">max</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><a href="oci-collection.size.html" class="methodname">size</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><a href="oci-collection.trim.html" class="methodname">trim</a></span> ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$num</code></span> )</div> }</div> </div> </div> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="oci-collection.append.html">OCI-Collection::append</a> — Appends element to the collection</li><li><a href="oci-collection.assign.html">OCI-Collection::assign</a> — Assigns a value to the collection from another existing collection</li><li><a href="oci-collection.assignelem.html">OCI-Collection::assignElem</a> — Assigns a value to the element of the collection</li><li><a href="oci-collection.free.html">OCI-Collection::free</a> — Frees the resources associated with the collection object</li><li><a href="oci-collection.getelem.html">OCI-Collection::getElem</a> — Returns value of the element</li><li><a href="oci-collection.max.html">OCI-Collection::max</a> — Returns the maximum number of elements in the collection</li><li><a href="oci-collection.size.html">OCI-Collection::size</a> — Returns size of the collection</li><li><a href="oci-collection.trim.html">OCI-Collection::trim</a> — Trims elements from the end of the collection</li></ul> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.oci-statement-type.html">oci_statement_type</a></div> <div class="next" style="text-align: right; float: right;"><a href="oci-collection.append.html">OCI-Collection::append</a></div> <div class="up"><a href="book.oci8.html">OCI8</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>