/**
  * A static method which returns the instance of this DB class.
  * @return object of DB class
  */
 public static function getInstance()
 {
     if (!isset(self::$_instance)) {
         self::$_instance = new DB();
     }
     return self::$_instance;
 }