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')); }
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')); }