yohgaki Wed Apr 24 21:07:23 2002 EDT Modified files: /phpdoc/en/reference/pgsql/functions pg-fetch-array.xml pg-fetch-object.xml pg-fetch-result.xml pg-fetch-row.xml Log: Notes for optional row number are in notes. Index: phpdoc/en/reference/pgsql/functions/pg-fetch-array.xml diff -u phpdoc/en/reference/pgsql/functions/pg-fetch-array.xml:1.3 phpdoc/en/reference/pgsql/functions/pg-fetch-array.xml:1.4 --- phpdoc/en/reference/pgsql/functions/pg-fetch-array.xml:1.3 Wed Apr 24 20:43:48 2002 +++ phpdoc/en/reference/pgsql/functions/pg-fetch-array.xml Wed Apr 24 21:07:02 +2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 --> <refentry id="function.pg-fetch-array"> <refnamediv> @@ -31,12 +31,6 @@ retrieved. First row is 0. </para> <para> - From PHP 4.2.0, <parameter>row</parameter> can be optional. - Calling <function>pg_fetch_array</function> will incremented - internal row counter, that is associated with the <parameter>result</parameter>, - counter by 1. - </para> - <para> <parameter>result_type</parameter> is optional parameter controls how return value is initialized. <parameter>result_type</parameter> is a constant and can take the @@ -92,6 +86,8 @@ <note> <para> From 4.1.0, <parameter>row</parameter> became optional. + Calling <function>pg_fetch_array</function> will increment + internal row counter by 1. </para> </note> </refsect1> Index: phpdoc/en/reference/pgsql/functions/pg-fetch-object.xml diff -u phpdoc/en/reference/pgsql/functions/pg-fetch-object.xml:1.4 phpdoc/en/reference/pgsql/functions/pg-fetch-object.xml:1.5 --- phpdoc/en/reference/pgsql/functions/pg-fetch-object.xml:1.4 Wed Apr 24 20:42:43 2002 +++ phpdoc/en/reference/pgsql/functions/pg-fetch-object.xml Wed Apr 24 21:07:15 +2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 --> <refentry id="function.pg-fetch-object"> <refnamediv> @@ -30,12 +30,6 @@ retrieved. First row is 0. </para> <para> - From PHP 4.2.0, <parameter>row</parameter> can be optional. - Calling <function>pg_fetch_object</function> will incremented - internal row counter, that is associated with the <parameter>result</parameter>, - counter by 1. - </para> - <para> Speed-wise, the function is identical to <function>pg_fetch_array</function>, and almost as quick as <function>pg_fetch_row</function> (the difference is @@ -97,6 +91,8 @@ <note> <para> From 4.1.0, <parameter>row</parameter> became optional. + Calling <function>pg_fetch_object</function> will increment + internal row counter counter by 1. </para> </note> </refsect1> Index: phpdoc/en/reference/pgsql/functions/pg-fetch-result.xml diff -u phpdoc/en/reference/pgsql/functions/pg-fetch-result.xml:1.2 phpdoc/en/reference/pgsql/functions/pg-fetch-result.xml:1.3 --- phpdoc/en/reference/pgsql/functions/pg-fetch-result.xml:1.2 Wed Apr 17 02:43:18 2002 +++ phpdoc/en/reference/pgsql/functions/pg-fetch-result.xml Wed Apr 24 21:07:17 +2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 --> <refentry id="function.pg-fetch-result"> <refnamediv> @@ -11,15 +11,15 @@ <methodsynopsis> <type>mixed</type><methodname>pg_fetch_result</methodname> <methodparam><type>resource</type><parameter>result</parameter></methodparam> - <methodparam><type>int</type><parameter>row_number</parameter></methodparam> + <methodparam><type>int</type><parameter>row</parameter></methodparam> <methodparam><type>mixed</type><parameter>field</parameter></methodparam> </methodsynopsis> <para> <function>pg_fetch_result</function> returns values from a <parameter>result</parameter> resource returned by - <function>pg_query</function>. <parameter>row_number</parameter> + <function>pg_query</function>. <parameter>row</parameter> is integer. <parameter>field</parameter> is field name(string) - or field index (integer). The <parameter>row_number</parameter> + or field index (integer). The <parameter>row</parameter> and <parameter>field</parameter> specify what cell in the table of results to return. Row numbering starts from 0. Instead of naming the field, you may use the field index as an unquoted Index: phpdoc/en/reference/pgsql/functions/pg-fetch-row.xml diff -u phpdoc/en/reference/pgsql/functions/pg-fetch-row.xml:1.3 phpdoc/en/reference/pgsql/functions/pg-fetch-row.xml:1.4 --- phpdoc/en/reference/pgsql/functions/pg-fetch-row.xml:1.3 Wed Apr 24 20:44:14 2002 +++ phpdoc/en/reference/pgsql/functions/pg-fetch-row.xml Wed Apr 24 21:07:17 +2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 --> <refentry id="function.pg-fetch-row"> <refnamediv> @@ -20,12 +20,6 @@ returned as an array. Each result column is stored in an array offset, starting at offset 0. </para> - <para> - From PHP 4.2.0, <parameter>row</parameter> can be optional. - Calling <function>pg_fetch_row</function> will incremented - internal row counter, that is associated with the <parameter>result</parameter>, - counter by 1. - </para> <para> It returns an array that corresponds to the fetched row, or &false; if there are no more rows. @@ -75,6 +69,8 @@ <note> <para> From 4.1.0, <parameter>row</parameter> became optional. + Calling <function>pg_fetch_row</function> will increment + internal row counter by 1. </para> </note> </refsect1>