/**
  * Constructor is disabled, use the static method DBConnector::getInstance()
  * 
  * @param string $sIncDir Base include path of current system. This param is used by GlobalSystemUpdate. 
  * 
  */
 protected function __construct()
 {
     parent::__construct();
     $this->initConnection()->openConnection();
 }
예제 #2
0
 /**
  * Get the DB handle (mysqli instance.
  * 
  * @return mysqli
  */
 protected function getMySQLi()
 {
     return $this->oDBConnector->getMySQLi();
 }