cvs: pear /MDB MDB.php
| From: | Lukas Smith | Date: | Fri, 17 Jan 2003 13:29:19 +0000 |
| Subject: | cvs: pear /MDB MDB.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8335@lists.php.net to get a copy of this message | ||
lsmith Fri Jan 17 08:29:19 2003 EDT
Modified files:
/pear/MDB MDB.php
Log:
fixed phpdoc comment
Index: pear/MDB/MDB.php
diff -u pear/MDB/MDB.php:1.44 pear/MDB/MDB.php:1.45
--- pear/MDB/MDB.php:1.44 Thu Nov 28 10:19:01 2002
+++ pear/MDB/MDB.php Fri Jan 17 08:29:19 2003
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
//
-// $Id: MDB.php,v 1.44 2002/11/28 15:19:01 lsmith Exp $
+// $Id: MDB.php,v 1.45 2003/01/17 13:29:19 lsmith Exp $
//
require_once 'PEAR.php';
@@ -210,7 +210,7 @@
* MDB_Manager This class handles the xml schema management.
*
* @package MDB
- * @version $Id: MDB.php,v 1.44 2002/11/28 15:19:01 lsmith Exp $
+ * @version $Id: MDB.php,v 1.45 2003/01/17 13:29:19 lsmith Exp $
* @category Database
* @author Lukas Smith <smith@backendmedia.com>
*/
@@ -225,7 +225,8 @@
* type
*
* @param string $type database type, for example 'mysql'
- * @return mixed a newly created MDB object, or a MDB error code on error
+ * @return mixed a newly created MDB connection object, or a MDB
+ * error object on error
* @access public
*/
function &factory($type)
@@ -287,7 +288,7 @@
// expose php errors with sufficient debug level
include_once $include;
} else {
- @include_once $include;
+ include_once $include;
}
if (!class_exists($class_name)) {
@@ -296,7 +297,7 @@
'MDB_Error', TRUE);
}
- @$db =& new $class_name($dsninfo, $options);
+ $db =& new $class_name($dsninfo, $options);
if(!MDB::isError($db) && isset($dsninfo['database'])) {
$db->setDatabase($dsninfo['database']);