/** * 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(); }
/** * Get the DB handle (mysqli instance. * * @return mysqli */ protected function getMySQLi() { return $this->oDBConnector->getMySQLi(); }