]> git.mxchange.org Git - hub.git/blobdiff - inc/classes/middleware/database/class_DatabaseConnection.php
Missing fixes applied
[hub.git] / inc / classes / middleware / database / class_DatabaseConnection.php
index e6adbbe6778b8cfb44eb5ecd4175ddcb7d9fd3c9..45b09ea29ce1fd8392b9082ea4b1c9e7538d393c 100644 (file)
@@ -3,10 +3,10 @@
  * Database selector class
  *
  * @author             Roland Haeder <webmaster@mxchange.org>
- * @version            0.3.0
+ * @version            0.0.0
  * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.mxchange.org
+ * @link               http://www.ship-simu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -19,7 +19,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class DatabaseConnection extends BaseMiddleware implements DatabaseConnector, LimitableObject {
        // Array for connection data
@@ -31,13 +31,13 @@ class DatabaseConnection extends BaseMiddleware implements DatabaseConnector, Li
        // An instance of this class
        private static $thisInstance = null;
 
-       // Private constructor
-       private final function __construct() {
+       // Protected constructor
+       protected function __construct() {
                // Call parent constructor
-               parent::constructor(__CLASS__);
+               parent::__construct(__CLASS__);
 
                // Set description
-               $this->setPartDescr("Datenbank-Mittelschicht");
+               $this->setObjectDescription("Datenbank-Mittelschicht");
 
                // Create an unique ID
                $this->createUniqueID();