derogation = new Derogation(); $this->prestataire = new Prestataire(); } public function index() { $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); $codeDerogation = $this->requete->getParametreFormulaire("codeDerogation"); $codeReponseDerogation = $this->requete->getParametreFormulaire("codeReponseDerogation"); $_SESSION['codePrestataire_C'] = $codePrestataire; $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); $debut = $this->requete->getParametreDate("debut"); $fin = $this->requete->getParametreDate("fin"); $derogations = $this->derogation->getderogations($codePrestataire, $codeDerogation, $codeReponseDerogation, $debut, $fin); $this->genererVueAjax(array('derogations' => $derogations)); } }