From e125147d78a57a39725b7704082614779cf735a2 Mon Sep 17 00:00:00 2001 From: Indieteq Date: Wed, 17 Oct 2012 22:42:03 +0300 Subject: Update Db.class.php Fixed the tab spacing --- Db.class.php | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/Db.class.php b/Db.class.php index 0798c72..469e2e9 100644 --- a/Db.class.php +++ b/Db.class.php @@ -1,12 +1,12 @@ parameters = array(); } - /** + /** * This method makes connection to the database. * - * 1. Reads the database settings from a ini file. - * 2. Puts the ini content into the settings array. + * 1. Reads the database settings from a ini file. + * 2. Puts the ini content into the settings array. * 3. Tries to connect to the database. * 4. If connection failed, exception is displayed and a log file gets created. */ @@ -75,7 +75,7 @@ die(); } } - /** + /** * Every method which needs to execute a SQL query uses this method. * * 1. If not connected, connect to the database. @@ -119,7 +119,7 @@ $this->parameters = array(); } - /** + /** * @void * * Add the parameter to the parameter array @@ -130,7 +130,7 @@ { $this->parameters[sizeof($this->parameters)] = ":" . $para . "\x7F" . $value; } - /** + /** * @void * * Add more parameters to the parameter array @@ -170,7 +170,7 @@ return NULL; } } - /** + /** * Returns an array which represents a column from the result set * * @param string $query @@ -191,7 +191,7 @@ return $column; } - /** + /** * Returns an array which represents a row from the result set * * @param string $query @@ -204,7 +204,7 @@ $this->Init($query,$params); return $this->sQuery->fetch($fetchmode); } - /** + /** * Returns the value of one single field/column * * @param string $query @@ -216,7 +216,7 @@ $this->Init($query,$params); return $this->sQuery->fetchColumn(); } - /** + /** * Writes the log and returns the exception * * @param string $message -- cgit v1.1