public function updateRencontreGroupeBracket(Rencontre $rencontre) { $q = $this->_db->prepare('UPDATE rencontre SET' . ' id_concurrent_A = :id_concurrent_A,' . ' id_concurrent_B = :id_concurrent_B' . ' WHERE id_tournoi = :id_tournoi AND place_rencontre = :place_rencontre'); $q->bindValue(':id_concurrent_A', $rencontre->getIdConcurrentA(), PDO::PARAM_INT); $q->bindValue(':id_concurrent_B', $rencontre->getIdConcurrentB(), PDO::PARAM_INT); $q->bindValue(':place_rencontre', $rencontre->getPlaceRencontre(), PDO::PARAM_INT); $q->bindValue(':id_tournoi', $rencontre->getIdTournoi(), PDO::PARAM_INT); $q->execute(); }