sppolice = new Police(); } public function index() { $this->genererVueAjax(); } public function police() { $idPolice = $_SESSION['idPolice_C']; $dj = date("Y-m-d"); $sppolice = $this->sppolice->getRapportSpPolicePol($idPolice, $dj); $this->genererVueAjax(array('sppolice' => $sppolice)); } public function categorie() { $idPolice = $_SESSION['idPolice_C']; $dj = date("Y-m-d"); $sppolices = $this->sppolice->getRapportSpPoliceCat($idPolice, $dj); $this->genererVueAjax(array('sppolices' => $sppolices)); } public function college() { $idPolice = $_SESSION['idPolice_C']; $dj = date("Y-m-d"); $sppolices = $this->sppolice->getRapportSpPoliceCol($idPolice, $dj); $this->genererVueAjax(array('sppolices' => $sppolices)); } }