cvs: pear /DB package.xml /DB/DB common.php
| From: | Daniel Convissor | Date: | Wed, 28 Apr 2004 18:38:07 +0000 |
| Subject: | cvs: pear /DB package.xml /DB/DB common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-18895@lists.php.net to get a copy of this message | ||
danielc Wed Apr 28 14:38:07 2004 EDT
Modified files:
/pear/DB package.xml
/pear/DB/DB common.php
Log:
Fix docblocks for getAssoc() and limitQuery().
http://cvs.php.net/diff.php/pear/DB/package.xml?r1=1.96&r2=1.97&ty=u
Index: pear/DB/package.xml
diff -u pear/DB/package.xml:1.96 pear/DB/package.xml:1.97
--- pear/DB/package.xml:1.96 Sat Apr 17 15:43:39 2004
+++ pear/DB/package.xml Wed Apr 28 14:38:06 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<package version="1.0">
- <!-- $Id: package.xml,v 1.96 2004/04/17 19:43:39 danielc Exp $ -->
+ <!-- $Id: package.xml,v 1.97 2004/04/28 18:38:06 danielc Exp $ -->
<name>DB</name>
<summary>Database Abstraction Layer</summary>
<description>
@@ -68,6 +68,10 @@
=============
BUGS FIXED:
+- common:
+Fix docblocks for getAssoc() and limitQuery().
+(danielc)
+
- mysqli:
Move connection id to first argument in
mysqli_*() functions. (danielc)
http://cvs.php.net/diff.php/pear/DB/DB/common.php?r1=1.99&r2=1.100&ty=u
Index: pear/DB/DB/common.php
diff -u pear/DB/DB/common.php:1.99 pear/DB/DB/common.php:1.100
--- pear/DB/DB/common.php:1.99 Wed Apr 7 00:56:58 2004
+++ pear/DB/DB/common.php Wed Apr 28 14:38:07 2004
@@ -18,7 +18,7 @@
// | Maintainer: Daniel Convissor <danielc@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: common.php,v 1.99 2004/04/07 04:56:58 danielc Exp $
+// $Id: common.php,v 1.100 2004/04/28 18:38:07 danielc Exp $
require_once 'PEAR.php';
@@ -27,7 +27,7 @@
* inherited by all such
*
* @package DB
- * @version $Id: common.php,v 1.99 2004/04/07 04:56:58 danielc Exp $
+ * @version $Id: common.php,v 1.100 2004/04/28 18:38:07 danielc Exp $
* @category Database
* @author Stig Bakken <ssb@php.net>
* @author Tomas V.V.Cox <cox@idecnet.com>
@@ -1160,7 +1160,11 @@
* @param string $query query
* @param integer $from the row to start to fetching
* @param integer $count the numbers of rows to fetch
- * @param array $params required for a statement
+ * @param mixed $params array, string or numeric data to be used in
+ * execution of the statement. Quantity of items
+ * passed must match quantity of placeholders in
+ * query: meaning 1 placeholder for non-array
+ * parameters or 1 placeholder per array element.
*
* @return mixed a DB_Result object, DB_OK or a DB_Error
*
@@ -1428,6 +1432,7 @@
* passed must match quantity of 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 boolean $group if true, the values of the returned array
* is wrapped in another array. If the same
* key value (in the first column) repeats