menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Modifparamseuilalerte'); $this->produit = new Produit(); $this->garant = new Gestionconfiee(); } public function index() { $garant = $this->garant->getListeGarantDansProduit(); if($_SESSION['codeGcAssureur_S'] > " " && $_SESSION['codeProduit_S'] > " "){ $produits = $this->produit->getProduitGarant($_SESSION['codeGcAssureur_S']); }else{ $produits = array(); } $this->genererVue(array('garant' => $garant, 'produits' => $produits)); } }