protected function loadDump($dumpFile) { $dbFile = $this->sourceFilesDir . $this->sqliteDbFileName; @unlink($dbFile); $dbConn = colesoDB::getConnection('source'); $loader = new colesoSQLBatch(); $loader->loadDump($dumpFile, $dbConn); }
function colesoControlLoginSession() { $this->dbConn = colesoDB::getConnection(); $this->tPrefix = colesoApplication::getConfigVal('/system/db/tablePrefix'); $this->environment = colesoApplication::getEnvironment(); //obsolete ref }
public function __construct($sql, $mode, $dbDriver = null) { $this->mode = $mode; $this->dbDriver = is_null($dbDriver) ? colesoDB::getConnection() : $dbDriver; $this->renderedHtml = colesoTestShowReport($sql, $this->dbDriver); $this->readMattrix($sql); }
function colesoSQLMenu($templateFile = NULL) { if ($templateFile) { $this->templateEngine = new colesoPHPTemplateSet($templateFile); } $this->dbConn =& colesoDB::getConnection(); $this->htmlResultsArray = array(); }