/**
  *	Update comment in database
  *	@param : Activity object
  *	@return : false if the update failed / else true
  */
 public function modify(Commentaire $commentaire)
 {
     $sql = "UPDATE commentaire\n\t\t\tSET commentaire = :commentaire,\n\t\t\tdateCommentaire = :dateCommentaire,\n\t\t\theureCommentaire = :heureCommentaire,\n\t\t\tidUtilisateur = :idUtilisateur,\n\t\t\tidActivite = :idActivite\n\t\t\tWHERE idCommentaire = :idCommentaire";
     $comm = $commentaire->getCommentaire();
     $dateCom = $commentaire->getDateCommentaire();
     $heure = $commentaire->getHeureCommentaire();
     $util = $commentaire->getIdUtilisateur();
     $act = $commentaire->getIdActivite();
     $idComm = $commentaire->getIdCommentaire();
     $req = $this->_db->prepare($sql);
     $req->bindParam(':commentaire', $comm, PDO::PARAM_STR);
     $req->bindParam(':dateCommentaire', $dateCom, PDO::PARAM_STR);
     $req->bindParam(':heureCommentaire', $heure, PDO::PARAM_STR);
     $req->bindParam(':idUtilisateur', $util, PDO::PARAM_STR);
     $req->bindParam(':idActivite', $act, PDO::PARAM_STR);
     $req->bindParam(':idCommentaire', $idComm, PDO::PARAM_STR);
     $req->execute();
     $nbTupleObt = $req->rowCount();
     $req->closeCursor();
     if ($nbTupleObt < 1) {
         return false;
     }
     return true;
 }