Example #1
0
 /**
  * Insert new row to table
  * @param array $data Row data
  */
 public function insert($data)
 {
     $prefix = Config::get("DB_PREFIX");
     $this->db->sqlInsert($prefix . $this->dbTable, $data);
     $this->lastInsertId = $this->db->getLastInsertId();
 }