cvs: phpdoc /en/reference/oci8/functions ocifetchstatement.xml
| From: | Damien Seguy | Date: | Fri, 09 May 2003 01:27:44 +0000 |
| Subject: | cvs: phpdoc /en/reference/oci8/functions ocifetchstatement.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969353289@lists.php.net to get a copy of this message | ||
dams Thu May 8 21:27:44 2003 EDT
Modified files:
/phpdoc/en/reference/oci8/functions ocifetchstatement.xml
Log:
Updating prototype from doc
Index: phpdoc/en/reference/oci8/functions/ocifetchstatement.xml
diff -u phpdoc/en/reference/oci8/functions/ocifetchstatement.xml:1.3
phpdoc/en/reference/oci8/functions/ocifetchstatement.xml:1.4
--- phpdoc/en/reference/oci8/functions/ocifetchstatement.xml:1.3 Mon Feb 10 22:06:15 2003
+++ phpdoc/en/reference/oci8/functions/ocifetchstatement.xml Thu May 8 21:27:44 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 -->
<refentry id="function.ocifetchstatement">
<refnamediv>
@@ -12,15 +12,41 @@
<type>int</type><methodname>ocifetchstatement</methodname>
<methodparam><type>resource</type><parameter>stmt</parameter></methodparam>
<methodparam><type>array
&</type><parameter>variable</parameter></methodparam>
+
<methodparam><type>int</type><parameter>skip</parameter></methodparam>
+
<methodparam><type>int</type><parameter>maxrows</parameter></methodparam>
+
<methodparam><type>int</type><parameter>flags</parameter></methodparam>
</methodsynopsis>
<para>
<function>ocifetchstatement</function> fetches all the rows from a
result into a user-defined array.
<function>ocifetchstatement</function> returns the number of rows
- fetched.
+ fetched. <parameter>skip</parameter> is the number of initial rows
+ to ignore when fetching the result (default value of 0, to start
+ at the first line). <parameter>maxrows</parameter> is the number of
+ rows to read, starting at the <parameter>skip</parameter>th row
+ (Default to -1, meaning all the rows).
+ </para>
+ <para>
+ <parameter>flags</parameter> represents the available options for,
+ which can be any combinaisons of the following :
+ <simplelist>
+ <member>
+ <constant>OCI_FETCHSTATEMENT_BY_ROW</constant>
+ </member>
+ <member>
+ <constant>OCI_FETCHSTATEMENT_BY_COLUMN</constant> (default value)
+ </member>
+ <member>
+ <constant>OCI_NUM</constant>
+ </member>
+ <member>
+ <constant>OCI_ASSOC</constant>
+ </member>
+ </simplelist>
+ </para>
</para>
<example>
- <title> <function>ocifetchstatement</function> example</title>
+ <title><function>ocifetchstatement</function> example</title>
<programlisting>
<![CDATA[
<?php