Example #1
0
 /**
  * It creates a new DBCommandClass object or if it has been created before, it
  * returns the previous object
  *
  * @access public
  * @since 2.3
  * @return DBCommandClass
  */
 public static function newInstance()
 {
     if (!self::$instance instanceof self) {
         self::$instance = new self();
     }
     return self::$instance;
 }