[pLog-svn] r2304 - plog/trunk/class/database/pdb/drivers
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Tue Jul 12 21:08:28 GMT 2005
Author: oscar
Date: 2005-07-12 21:08:28 +0000 (Tue, 12 Jul 2005)
New Revision: 2304
Modified:
plog/trunk/class/database/pdb/drivers/pdbmysqldriver.class.php
Log:
can't see any big changes but svn lists this file as modified with local changes...
Modified: plog/trunk/class/database/pdb/drivers/pdbmysqldriver.class.php
===================================================================
--- plog/trunk/class/database/pdb/drivers/pdbmysqldriver.class.php 2005-07-12 21:07:36 UTC (rev 2303)
+++ plog/trunk/class/database/pdb/drivers/pdbmysqldriver.class.php 2005-07-12 21:08:28 UTC (rev 2304)
@@ -2,31 +2,30 @@
include_once( PLOG_CLASS_PATH."class/database/pdb/drivers/pdbdriverbase.class.php" );
include_once( PLOG_CLASS_PATH."class/database/pdb/drivers/pdbmysqlrecordset.class.php" );
-
- /**
- * \ingroup PDb
- *
- * MySQL driver for PDb
+ /**
+ * \ingroup PDb
+ *
+ * MySQL driver for PDb
*/
class PDbMySQLDriver extends PDbDriverBase
{
var $_res;
var $_dbname;
-
- /**
- * Constructor of the driver. Doesn't do much.
+
+ /**
+ * Constructor of the driver. Doesn't do much.
*/
function PDbMySQLDriver()
{
- $this->PDbDriverBase();
-
- // the driver name
+ $this->PDbDriverBase();
+
+ // the driver name
$this->_type = 'mysql';
}
-
- /**
- * @see PDbDriverBase::Execute()
+
+ /**
+ * @see PDbDriverBase::Execute()
*/
function Execute( $query, $page = DEFAULT_PAGING_ENABLED, $itemsPerPage = DEFAULT_ITEMS_PER_PAGE )
{
@@ -58,9 +57,9 @@
$rs = new PdbMySQLRecordSet( $result );
return( $rs );
}
-
- /**
- * @see PDbDriverBase::Connect()
+
+ /**
+ * @see PDbDriverBase::Connect()
*/
function Connect( $host, $username, $password, $dbname )
{
@@ -74,9 +73,9 @@
// continue otherwise and try to select our db
return( mysql_select_db( $dbname, $this->_res ));
}
-
- /**
- * @see PDbDriverBase::PConnect()
+
+ /**
+ * @see PDbDriverBase::PConnect()
*/
function PConnect( $host, $username, $password, $dbname )
{
@@ -90,45 +89,45 @@
// continue otherwise and try to select our db
return( mysql_select_db( $dbname, $this->_res ));
}
-
- /**
- * @see PDbDriverBase::Close()
+
+ /**
+ * @see PDbDriverBase::Close()
*/
function Close()
{
return( mysql_close( $this->_res ));
}
-
- /**
- * @see PDbDriverBase::ErrorMsg()
+
+ /**
+ * @see PDbDriverBase::ErrorMsg()
*/
function ErrorMsg()
{
return( mysql_error( $this->_res ));
}
-
- /**
- * @see PDbDriverBase::Insert_ID()
+
+ /**
+ * @see PDbDriverBase::Insert_ID()
*/
function Insert_ID()
{
return( mysql_insert_id( $this->_res ));
}
-
- /**
- * @see PDbDriverBase::Affected_Rows()
+
+ /**
+ * @see PDbDriverBase::Affected_Rows()
*/
function Affected_Rows()
{
return( mysql_affected_rows( $this->_res ));
- }
-
- /**
- * @see PDbDriverBase::getDriverDataDictionary()
- */
- function &getDriverDataDictionary()
- {
- return( PDbDriverBase::getDriverDataDictionary( 'mysql' ));
+ }
+
+ /**
+ * @see PDbDriverBase::getDriverDataDictionary()
+ */
+ function &getDriverDataDictionary()
+ {
+ return( PDbDriverBase::getDriverDataDictionary( 'mysql' ));
}
}
?>
\ No newline at end of file
More information about the pLog-svn
mailing list