college_temp = new College_temp(); } public function index() { $idCollege = $_SESSION['idCollege']; $college= $this->college_temp->getCollegepoliceId($idCollege); $prestatairehorsreseaus= $this->college_temp->getprestatairehorsreseau($idCollege); $prestataireenpluss= $this->college_temp->getprestataireenplus($idCollege); $this->genererVueAjax(array('college' => $college, 'prestatairehorsreseaus' => $prestatairehorsreseaus, 'prestataireenpluss' => $prestataireenpluss)); } public function majtm() { $idPrestation = $this->requete->getParametre("idPrestation"); $tm = $this->requete->getParametreFormulaire("tm"); $this->college_temp->majtmprestatairenplus($idPrestation, $tm); $this->executerAction("index"); } public function retirer() { $idPrestation = $this->requete->getParametre("idPrestation"); $this->college_temp->retirerprestatairenplus($idPrestation); $this->executerAction("index"); } public function ajouterunprestataireenplus() { $codePrestataire = $this->requete->getParametre("codePrestataire"); $this->college_temp->ajouterunprestataireenplus($codePrestataire); $this->executerAction("index"); } public function initprestation() { $idCollegeTemp = $_SESSION['idCollegeTemp']; $this->college_temp->initPrestationCollege($idCollegeTemp); } }