college_temp = new College_temp(); } public function index() { $idCollege = $_SESSION['idCollege']; $college= $this->college_temp->getCollegepoliceId($idCollege); $prestatairereseaus= $this->college_temp->getprestatairereseau($idCollege); $prestataireenmoinss= $this->college_temp->getprestataireenmoins($idCollege); $this->genererVueAjax(array('college' => $college, 'prestatairereseaus' => $prestatairereseaus, 'prestataireenmoinss' => $prestataireenmoinss)); } public function retirer() { $idPrestation = $this->requete->getParametre("idPrestation"); $this->college_temp->retirerprestatairenmoins($idPrestation); $this->executerAction("index"); } public function ajouterunprestataireenmoins() { $codePrestataire = $this->requete->getParametre("codePrestataire"); $this->college_temp->ajouterunprestataireenmoins($codePrestataire); $this->executerAction("index"); } public function initprestation() { $idCollegeTemp = $_SESSION['idCollegeTemp']; $this->college_temp->initPrestationCollege($idCollegeTemp); } }