Updating prototype from doc

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@126320 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Damien Seguy 2003-05-09 01:27:44 +00:00
parent 65a7901e1f
commit b7ce9ec6af

View file

@ -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 &amp;</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