phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc class.db.inc.php,1.17


From: skwashd
Subject: [Phpgroupware-cvs] phpgwapi/inc class.db.inc.php,1.17
Date: Sun, 15 May 2005 13:57:00 +0200

Update of phpgwapi/inc

Modified Files:
     Branch: MAIN
            class.db.inc.php lines: +34 -2

Log Message:
stop some more errors

====================================================
Index: phpgwapi/inc/class.db.inc.php
diff -u phpgwapi/inc/class.db.inc.php:1.16 phpgwapi/inc/class.db.inc.php:1.17
--- phpgwapi/inc/class.db.inc.php:1.16  Sun May 15 11:14:21 2005
+++ phpgwapi/inc/class.db.inc.php       Sun May 15 11:57:53 2005
@@ -31,15 +31,47 @@
        class db
        {

+               /**
+               * @var string $Host database hostname
+               */
                var $Host;
+
+               /**
+               * @var string $Type RDBMS server ??
+               */
                var $Type;
+
+               /**
+               * @var string $Database name of database
+               */
                var $Database;
+
+               /**
+               * @var string $User name of user used to connect to database
+               */
                var $User;
+
+               /**
+               * @var string $Password password used to connect to database
+               */
                var $Password;
+
+               /**
+               * @var bool $Debug enable debugging
+               */
                var $debug = False;
+
+               /**
+               * @var string $Halt_On_Error should connection and script be 
terminated on error?
+               */
                var $Halt_On_Error = 'yes'; // should be true or false

                /**
+               * @var bool $auto_stripslashes automagically remove slashes 
from field values returned?
+               */
+               var $auto_stripslashes = false;
+
+               /**
                * Constructor
                * @param string $query query to be executed (optional)
                */
@@ -52,7 +84,7 @@
                                echo "wtf: db";
                                $this->query($query);
                        }
-                       $this->debug = $debug;
+                       //$this->debug = $debug; // commented to stop undefined 
var error
                }

                /**






reply via email to

[Prev in Thread] Current Thread [Next in Thread]