function MDB_QT($table = null)
 {
     if (!is_null($table)) {
         $this->table = $table;
     }
     parent::MDB_QueryTool(DB_DSN, $GLOBALS['DB_OPTIONS']);
     $this->setErrorSetCallback(array(&$this, 'errorSet'));
     $this->setErrorLogCallback(array(&$this, 'errorLog'));
 }
Exemple #2
0
 function tests_Common($table = null)
 {
     if ($table != null) {
         $this->table = $table;
     }
     parent::MDB_QueryTool(DB_DSN);
     $this->setErrorSetCallback(array(&$this, 'errorSet'));
     $this->setErrorLogCallback(array(&$this, 'errorLog'));
 }