Home » Database » DB » Bug #1209
toString()
Details
| Request #1209 | toString() |
|---|---|
| Submitted | 2004-04-14 16:32 UTC |
| From | smith at backendmedia dot com |
| Assigned | danielc |
| Status | Closed |
| Package | DB |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2004-04-14 16:32 UTC] smith at backendmedia dot com
Description:
------------
Just some minor changes to toString. Maybe also consider prefixing the method with "__"
RCS file: /repository/pear/DB/DB/common.php,v
retrieving revision 1.98
diff -u -r1.98 common.php
--- common.php 25 Mar 2004 17:12:03 -0000 1.98
+++ common.php 14 Apr 2004 16:38:43 -0000
@@ -124,11 +124,11 @@
* String conversation
*
* @return string
- * @access private
+ * @access public
*/
function toString()
{
- $info = strtolower(get_class($this));
+ $info = get_class($this);
$info .= ': (phptype=' . $this->phptype .
', dbsyntax=' . $this->dbsyntax .
')';
*****CVS exited normally with code 1*****