menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Derogationpermanente'); $this->pbeneficiaire = new Pbeneficiaire(); $this->derogation = new Derogation(); } public function index() { $idBeneficiaire = $_SESSION['idBeneficiaire_C']; $beneficiaire = $this->pbeneficiaire->getContexteBeneficiaireIdPrest($idBeneficiaire); $derogations = $this->derogation->getderogationpermanente($idBeneficiaire); $chemin = $this->menuvue->getChemin('Derogationpermanente'); $this->genererVue(array('beneficiaire' => $beneficiaire, 'derogations' => $derogations, 'chemin' => $chemin)); } }