/** * Executes SQL code * @param $sql * @return unknown_type */ public function exec($sql, $aValues = array(), $noevent = false) { if (!$noevent) { $this->sql = $sql; $this->signal("sql_exec", $this); } return $this->db->Execute($sql, $aValues); }
/** * Executes SQL code * @param $sql * @return unknown_type */ public function exec($sql) { self::$log[] = $sql; return $this->db->Execute($sql); }