Example #1
0
 /**
  * Constructor.
  *
  * @param string $db
  * @param string $table
  */
 public function __construct($db, $table = '')
 {
     $this->boolDebug = Config::getGeneralSettings('on_error_print_queries');
     $this->dbConfig = Config::getDbSettings();
     $this->connection = null;
     $this->isConnected = false;
     $this->table = $table;
     $this->dbDriver = $this->dbConfig[$db]['db_driver'];
     $this->bindParamsMap = array();
     $this->paramsMapCounter = 0;
     $this->db = $db;
 }