PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB » Bug #1209

toString()

Details

Request #1209toString()
Submitted2004-04-14 16:32 UTC
Fromsmith at backendmedia dot com
Assigneddanielc
StatusClosed
PackageDB
PHP VersionIrrelevant
OSIrrelevant
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*****