mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Bring back 3rd param and add description for it.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@79908 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
fb837163be
commit
ab5c971226
1 changed files with 12 additions and 1 deletions
|
@ -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>.
|
||||
|
|
Loading…
Reference in a new issue