cvs: pear /MDB pgsql.php
| From: | Lukas Smith | Date: | Sat, 20 Jul 2002 23:39:52 +0000 |
| Subject: | cvs: pear /MDB pgsql.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5223@lists.php.net to get a copy of this message | ||
lsmith Sat Jul 20 19:39:52 2002 EDT
Modified files:
/pear/MDB pgsql.php
Log:
prefixed several privat methods with '_'
Index: pear/MDB/pgsql.php
diff -u pear/MDB/pgsql.php:1.17 pear/MDB/pgsql.php:1.18
--- pear/MDB/pgsql.php:1.17 Sat Jul 20 15:35:09 2002
+++ pear/MDB/pgsql.php Sat Jul 20 19:39:52 2002
@@ -42,7 +42,7 @@
// | Author: Paul Cooper <pgc@ucecom.com> |
// +----------------------------------------------------------------------+
-// $Id: pgsql.php,v 1.17 2002/07/20 19:35:09 lsmith Exp $
+// $Id: pgsql.php,v 1.18 2002/07/20 23:39:52 lsmith Exp $
// MDB postgresql driver.
@@ -195,7 +195,7 @@
return ($result);
}
$this->auto_commit = $auto_commit;
- return ($this->registerTransactionShutdown($auto_commit));
+ return ($this->_registerTransactionShutdown($auto_commit));
}
// }}}
@@ -313,11 +313,11 @@
}
// }}}
- // {{{ close()
+ // {{{ _close()
/**
* Close the database connection
**/
- function close()
+ function _close()
{
if ($this->connection != 0) {
if (!$this->auto_commit) {
@@ -959,7 +959,7 @@
* @param resource $prepared_query query handle from prepare()
* @param string $blob
*
- * @access private
+ * @access public
*/
function freeClobValue($prepared_query, $clob)
{
@@ -995,7 +995,7 @@
* @param resource $prepared_query query handle from prepare()
* @param string $blob
*
- * @access private
+ * @access public
*/
function freeBlobValue($prepared_query, $blob)
{
@@ -1119,7 +1119,7 @@
case MDB_TYPE_TIMESTAMP:
return substr($value, 0, strlen("YYYY-MM-DD HH:MM:SS"));
default:
- return ($this->baseConvertResult($value, $type));
+ return ($this->_baseConvertResult($value, $type));
}
}