rapportsp = new Statistique(); } public function index() { $codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur"); $_SESSION['codeGcAssureurStat'] = $codeGcAssureur; $rapportsps = $this->rapportsp->etatrapportsp(); $rapportspsTotal = null; if(count($rapportsps)>"0") { $rapportspsTotal = $rapportsps['0']; } $this->genererVueAjax(array('rapportsps' => $rapportsps, 'rapportsps' => $rapportsps)); } }