menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Htagcarte'); $this->carte = new Carteassure(); } public function index() { $idAdherent = $_SESSION['idAdherent_C']; $_SESSION['idAdherentCarte'] = $idAdherent; $htagcartes = $this->carte->gethtagcartes($idAdherent); $this->genererVue(array('htagcartes' => $htagcartes)); } public function revoquercarte() { $idHtagcarte = $this->requete->getParametreFormulaire("idHtagcarte", "numerique"); $motifRevocation = $this->requete->getParametreFormulaire("motifRevocation"); $this->carte->revoquer_carte($idHtagcarte, $motifRevocation); // $this->executerAction("index"); $this->rediriger("Htagcarte"); } }