В модель добавил функцию
public function incrementHitsCounter($id, $do){ $this->filterEqual('player_id', $id); return $this->increment($this->table_prefix.'sports_players', 'hits_count'); }
$hits_count = $this->model->incrementHitsCounter($id, $do);
public function incrementHitsCounter($id, $do){ $this->filterEqual('player_id', $id); return $this->increment($this->table_prefix.'sports_players', 'hits_count'); }
$hits_count = $this->model->incrementHitsCounter($id, $do);