dbs             Tue Jul  5 16:09:17 2005 EDT

  Modified files:              
    /phpdoc/en/reference/pdo    constants.xml 
  Log:
  Document column name-munging constants.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/pdo/constants.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/pdo/constants.xml
diff -u phpdoc/en/reference/pdo/constants.xml:1.6 
phpdoc/en/reference/pdo/constants.xml:1.7
--- phpdoc/en/reference/pdo/constants.xml:1.6   Fri Feb 25 09:47:45 2005
+++ phpdoc/en/reference/pdo/constants.xml       Tue Jul  5 16:09:17 2005
@@ -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>

Reply via email to