cvs: pear /MDB MDB.php
| From: | Lukas Smith | Date: | Tue, 26 Nov 2002 13:12:20 +0000 |
| Subject: | cvs: pear /MDB MDB.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7608@lists.php.net to get a copy of this message | ||
lsmith Tue Nov 26 08:12:20 2002 EDT
Modified files:
/pear/MDB MDB.php
Log:
some cosmestic fixes
Index: pear/MDB/MDB.php
diff -u pear/MDB/MDB.php:1.42 pear/MDB/MDB.php:1.43
--- pear/MDB/MDB.php:1.42 Sat Nov 23 18:47:10 2002
+++ pear/MDB/MDB.php Tue Nov 26 08:12:19 2002
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
//
-// $Id: MDB.php,v 1.42 2002/11/23 23:47:10 lsmith Exp $
+// $Id: MDB.php,v 1.43 2002/11/26 13:12: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.42 2002/11/23 23:47:10 lsmith Exp $
+ * @version $Id: MDB.php,v 1.43 2002/11/26 13:12:19 lsmith Exp $
* @category Database
* @author Lukas Smith <smith@backendmedia.com>
*/
@@ -230,7 +230,7 @@
*/
function &factory($type)
{
- $type = $dsninfo['phptype'];
+ $type = $dsninfo['phptype'];
$class_name = "MDB_$type";
@include_once "MDB/${type}.php";
@@ -318,10 +318,9 @@
// {{{ loadFile()
/**
- * load a file containing the class source (like 'MDB_Date' or
'MDB_Manager')
+ * load a file (like 'Date.php' or 'Manager.php')
*
- * @return $file the short name of the class (like 'Date' or 'Manager')
- * without the 'MDB_' prefix
+ * @return $file name of the file to be included from the MDB dir
* @access public
*/
function loadFile($file)