public function update(Chaine $chaine) { $req = $this->_db->prepare("UPDATE radio SET `nom` = :nom, `flux` = :flux WHERE `id` = :id"); $req->execute(array(':id' => $chaine->getId(), ':nom' => $chaine->getNom(), ':flux' => $chaine->getFlux())); }