Document column name-munging constants.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@189970 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Dan Scott 2005-07-05 20:09:17 +00:00
parent 513e60cc9e
commit 1f7db4393f

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<!-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc. -->
<section id="pdo.constants">
&reftitle.constants;
@ -94,7 +94,23 @@
<listitem>
<simpara>
Specifies that the fetch method shall return each row as an array indexed
by column name as returned in the corresponding result set.
by column name as returned in the corresponding result set. If the result
set contains multiple columns with the same name, PDO_FETCH_ASSOC returns
only a single value per column name.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<constant>PDO_FETCH_NAMED</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Specifies that the fetch method shall return each row as an array indexed
by column name as returned in the corresponding result set. If the result
set contains multiple columns with the same name, PDO_FETCH_NAMED returns
an array of values per column name.
</simpara>
</listitem>
</varlistentry>
@ -238,7 +254,8 @@
</term>
<listitem>
<simpara>
If this value is &false;, PDO attempts to disable autocommit so that the
connection begins a transaction.
</simpara>
</listitem>
</varlistentry>
@ -260,7 +277,7 @@
</term>
<listitem>
<simpara>
Sets the timeout value in seconds for communications with the database.
</simpara>
</listitem>
</varlistentry>
@ -360,7 +377,7 @@
</term>
<listitem>
<simpara>
Convert empty strings to SQL NULL values.
</simpara>
</listitem>
</varlistentry>
@ -370,8 +387,34 @@
(<type>integer</type>)
</term>
<listitem>
<simpara>
<simpara>
Request a persistent connection, rather than creating a new connection.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<constant>PDO_ATTR_FETCH_CATALOG_NAMES</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Prepend the containing catalog name to each column name returned in the
result set. The catalog name and column name are separated by a decimal
(.) character.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<constant>PDO_ATTR_FETCH_TABLE_NAMES</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Prepend the containing table name to each column name returned in the
result set. The table name and column name are separated by a decimal (.)
character.
</simpara>
</listitem>
</varlistentry>
@ -382,7 +425,8 @@
</term>
<listitem>
<simpara>
Do not raise an error or exception if an error occurs. The developer is
expected to explicitly check for errors.
</simpara>
</listitem>
</varlistentry>
@ -393,7 +437,7 @@
</term>
<listitem>
<simpara>
Issue a PHP E_WARNING message if an error occurs.
</simpara>
</listitem>
</varlistentry>
@ -404,7 +448,7 @@
</term>
<listitem>
<simpara>
Throw a PDOException if an error occurs.
</simpara>
</listitem>
</varlistentry>