function.oci-new-collection.html

来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 117 行

HTML
117
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Allocates new collection object</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.oci-lob-writetofile.html">OCI-Lob->writeToFile</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.oci-new-connect.html">oci_new_connect</a></div> <div class="up"><a href="ref.oci8.html">OCI8 Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.oci-new-collection" class="refentry"> <div class="refnamediv">  <h1 class="refname">oci_new_collection</h1>  <p class="verinfo">(PHP 5, PECL oci8:1.1-1.2.4)</p><p class="refpurpose"><span class="refname">oci_new_collection</span> &mdash; <span class="dc-title">Allocates new collection object</span></p> </div>  <div class="refsect1 description">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="type"><span class="type OCI-Collection">OCI-Collection</span></span> <span class="methodname"><b><b>oci_new_collection</b></b></span>    ( <span class="methodparam"><span class="type">resource</span> <tt class="parameter">$connection</tt></span>   , <span class="methodparam"><span class="type">string</span> <tt class="parameter">$tdo</tt></span>   [, <span class="methodparam"><span class="type">string</span> <tt class="parameter">$schema</tt></span>  ] )</div>  <p class="para rdfs-comment">   Allocates a new collection object.  </p> </div> <div class="refsect1 parameters">  <h3 class="title">Parameters</h3>  <p class="para">   <dl>    <dt>     <span class="term"><i><tt class="parameter">connection</tt></i></span>     <dd>      <p class="para">       An Oracle connection identifier, returned by        <a href="function.oci-connect.html" class="function">oci_connect()</a> or <a href="function.oci-pconnect.html" class="function">oci_pconnect()</a>.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">tdo</tt></i></span>     <dd>      <p class="para">       Should be a valid named type (uppercase).      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">schema</tt></i></span>     <dd>      <p class="para">       Should point to the scheme, where the named type was created. The name       of the current user is the default value.      </p>     </dd>    </dt>   </dl>  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   Returns a new <b class="classname">OCICollection</b> object or <b><tt>FALSE</tt></b> on   error.  </p> </div> <div class="refsect1 notes">  <h3 class="title">Notes</h3>  <blockquote><p><b class="note">Note</b>:        In PHP versions before 5.0.0 you must use     <a href="function.ocinewcollection.html" class="function">ocinewcollection()</a> instead. This name still can be    used, it was left as alias of <b>oci_new_collection()</b> for    downwards compatability. This, however, is deprecated and not recommended.   <br />  </p></blockquote> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.oci-lob-writetofile.html">OCI-Lob->writeToFile</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.oci-new-connect.html">oci_new_connect</a></div> <div class="up"><a href="ref.oci8.html">OCI8 Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?