menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Detailbaremecollegetemp'); $this->bareme = new Baremepriseencharge(); $this->garantie = new Garantiesbaremepriseencharge(); $this->oui_non = new Ouinon(); } public function index() { $idBaremePriseEnCharge = $this->requete->getParametreFormulaire("id"); $bareme = $this->bareme->getBaremepriseenchargeId($idBaremePriseEnCharge); $_SESSION['idBaremePriseEnCharge'] = $idBaremePriseEnCharge; $idCollegeTemp = $_SESSION['idCollegeTemp']; $garantiesajoutees = $this->garantie->getGarantiesProduitTemp($bareme["codeProduit"], $idBaremePriseEnCharge, $idCollegeTemp); $actif = $this->oui_non->getListe(); $tmBareme = $this->garantie->getTmBaremeTemp($idBaremePriseEnCharge, $idCollegeTemp); $maxDateEffetBareme = $this->garantie->getMaxDateEffetBaremeTemp($idBaremePriseEnCharge, $idCollegeTemp); $retour = $_SESSION['vueCollege']; $this->genererVue(array( 'bareme' => $bareme, 'garantiesajoutees' => $garantiesajoutees, 'actif' => $actif, 'tmBareme' => $tmBareme, 'maxDateEffetBareme' => $maxDateEffetBareme, 'retour' => $retour )); } }