prescription = new Prescription_temp(); } public function index() { $idMedicament = $this->requete->getParametreFormulaire("idMedicament"); $medicament = $this->prescription->getmedicament($idMedicament); $this->genererVueAjax(array('medicament' => $medicament)); } public function substituermedicament() { $idMedicament = $this->requete->getParametreFormulaire("idMedicament"); $this->prescription->annulersubstitutionmedicament($idMedicament); // $this->executerAction("index"); } }