yohgaki Thu Apr 25 03:19:04 2002 EDT Modified files: /phpdoc/en/reference/pgsql/functions pg-fetch-object.xml Log: Bring back 3rd param and add description for it. Index: phpdoc/en/reference/pgsql/functions/pg-fetch-object.xml diff -u phpdoc/en/reference/pgsql/functions/pg-fetch-object.xml:1.5 phpdoc/en/reference/pgsql/functions/pg-fetch-object.xml:1.6 --- phpdoc/en/reference/pgsql/functions/pg-fetch-object.xml:1.5 Wed Apr 24 21:07:15 2002 +++ phpdoc/en/reference/pgsql/functions/pg-fetch-object.xml Thu Apr 25 03:19:04 +2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 --> <refentry id="function.pg-fetch-object"> <refnamediv> @@ -12,6 +12,7 @@ <type>object</type><methodname>pg_fetch_object</methodname> <methodparam><type>resource</type><parameter>result</parameter></methodparam> <methodparam><type>int</type><parameter>row</parameter></methodparam> + <methodparam +choice="opt"><type>int</type><parameter>result_type</parameter></methodparam> </methodsynopsis> <para> <function>pg_fetch_object</function> returns an object with @@ -35,6 +36,16 @@ <function>pg_fetch_row</function> (the difference is insignificant). </para> + <note> + <para> + Form 4.3.0, <parameter>result_type</parameter> is default to PGSQL_ASSOC while + older versions' default was PGSQL_BOTH. There is no use for numeric property, + since numeric property name is invalid in PHP. + </para> + <para> + <parameter>result_type</parameter> may be deleted in future versions. + </para> + </note> <para> See also <function>pg_query</function>, <function>pg_fetch_array</function>, <function>pg_fetch_row</function> and <function>pg_fetch_result</function>.