menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue("ReseauSoins"); $this->gc = new Gestionconfiee(); $this->police = new Police(); } public function index() { $codeSociete = isset($_SESSION['codeSociete']) ? $_SESSION['codeSociete'] : null; $codeGcAssureur = isset($_SESSION['codeGcAssureur_C']) ? $_SESSION['codeGcAssureur_C'] : null; $idPolice = isset($_SESSION['idPolice']) ? $_SESSION['idPolice'] : null; $gc = $this->gc->getGcAssureurCode($codeGcAssureur); $polices = $this->police->getPolicesDuGarant($codeGcAssureur); $localite = $this->police->getlocalite(); $college = $this->police->getlistecollege($codeSociete, $codeGcAssureur, $idPolice); $prestataire = $this->police->getprestataire(); $nombre_souscripteurs = $this->gc->getNombreSouscripteurs($codeGcAssureur); $nombre_polices = $this->gc->getNombre_polices($codeGcAssureur); $nombre_adherents = $this->gc->getNombre_adherents($codeGcAssureur); $nombre_beneficiaires = $this->gc->getNombre_adherents($codeGcAssureur); $this->genererVue(array('gc' => $gc, 'polices' => $polices, 'nombre_souscripteurs' => $nombre_souscripteurs,'nombre_polices' => $nombre_polices,'nombre_adherents' => $nombre_adherents,'nombre_beneficiaires' => $nombre_beneficiaires,'college' => $college,'prestataire' => $prestataire,'localite' => $localite )); } }