avenant = new Police(); $this->college_temp = new College_temp(); } public function index() { $idPolice = $_SESSION['idPolice_C']; $this->avenant->recapituler_maj_limite_police(); $avenant = $this->avenant->getAvenantTemp($idPolice); $colleges = $this->college_temp->getCollegesPolice(); $totalcollege = $this->college_temp->getTotaldcollege($idPolice); $chemin = $this->menuvue->getChemin('Recaplimiteadd'); $this->genererVueAjax(array('avenant' => $avenant, 'colleges' => $colleges, 'totalcollege' => $totalcollege,'chemin' => $chemin)); } }