cvs: pear /DB package.xml /DB/DB common.php
| From: | Daniel Convissor | Date: | Thu, 07 Apr 2005 14:27:35 +0000 |
| Subject: | cvs: pear /DB package.xml /DB/DB common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-31020@lists.php.net to get a copy of this message | ||
danielc Thu Apr 7 10:27:35 2005 EDT
Modified files:
/pear/DB package.xml
/pear/DB/DB common.php
Log:
* Fix the docblocks regarding DB_FETCHMODE_FLIPPED. Bug 4027.
http://cvs.php.net/diff.php/pear/DB/package.xml?r1=1.183&r2=1.184&ty=u
Index: pear/DB/package.xml
diff -u pear/DB/package.xml:1.183 pear/DB/package.xml:1.184
--- pear/DB/package.xml:1.183 Tue Mar 29 08:29:32 2005
+++ pear/DB/package.xml Thu Apr 7 10:27:35 2005
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<package version="1.0">
- <!-- $Id: package.xml,v 1.183 2005/03/29 13:29:32 danielc Exp $ -->
+ <!-- $Id: package.xml,v 1.184 2005/04/07 14:27:35 danielc Exp $ -->
<name>DB</name>
<summary>Database Abstraction Layer</summary>
<description>
@@ -66,20 +66,12 @@
</maintainer>
</maintainers>
<release>
- <version>1.7.5</version>
+ <version>1.7.6</version>
<state>stable</state>
- <date>2005-03-29</date>
+ <date>pending</date>
<notes><![CDATA[
common:
-* Have buildManipSQL() return any errors that were raised. Bug 3954.
-* Have autoExecute() check for errors coming back from autoPrepare().
-* Have autoPrepare() check for errors coming back from buildManipSQL().
-
-mysql:
-* Don't pass new_link to mysql_pconnect(). Bug 3993.
-
-sqlite:
-* Map error message for multi-column unique constraints.
+* Fix the docblocks regarding DB_FETCHMODE_FLIPPED. Bug 4027.
]]></notes>
<filelist>
<file name="DB.php" role="php" baseinstalldir="/">
http://cvs.php.net/diff.php/pear/DB/DB/common.php?r1=1.136&r2=1.137&ty=u
Index: pear/DB/DB/common.php
diff -u pear/DB/DB/common.php:1.136 pear/DB/DB/common.php:1.137
--- pear/DB/DB/common.php:1.136 Fri Mar 25 12:43:42 2005
+++ pear/DB/DB/common.php Thu Apr 7 10:27:35 2005
@@ -20,7 +20,7 @@
* @author Daniel Convissor <danielc@php.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: common.php,v 1.136 2005/03/25 17:43:42 danielc Exp $
+ * @version CVS: $Id: common.php,v 1.137 2005/04/07 14:27:35 danielc Exp $
* @link http://pear.php.net/package/DB
*/
@@ -479,10 +479,8 @@
/**
* Sets the fetch mode that should be used by default for query results
*
- * @param integer $fetchmode DB_FETCHMODE_ORDERED or DB_FETCHMODE_ASSOC,
- * possibly bit-wise OR'ed with
- * DB_FETCHMODE_FLIPPED
- *
+ * @param integer $fetchmode DB_FETCHMODE_ORDERED, DB_FETCHMODE_ASSOC
+ * or DB_FETCHMODE_OBJECT
* @param string $object_class the class name of the object to be returned
* by the fetch methods when the
* DB_FETCHMODE_OBJECT mode is selected.
@@ -491,8 +489,7 @@
* done. There is also the posibility to use
* and extend the 'DB_row' class.
*
- * @see DB_FETCHMODE_ORDERED, DB_FETCHMODE_ASSOC, DB_FETCHMODE_FLIPPED,
- * DB_FETCHMODE_OBJECT
+ * @see DB_FETCHMODE_ORDERED, DB_FETCHMODE_ASSOC, DB_FETCHMODE_OBJECT
*/
function setFetchMode($fetchmode, $object_class = 'stdClass')
{
@@ -1571,7 +1568,11 @@
* placeholders in query: meaning 1
* placeholder for non-array parameters or
* 1 placeholder per array element.
- * @param int $fetchmode the fetch mode to use
+ * @param int $fetchmode the fetch mode to use:
+ * + DB_FETCHMODE_ORDERED
+ * + DB_FETCHMODE_ASSOC
+ * + DB_FETCHMODE_ORDERED | DB_FETCHMODE_FLIPPED
+ * + DB_FETCHMODE_ASSOC | DB_FETCHMODE_FLIPPED
*
* @return array the nested array. A DB_Error object on failure.
*/