menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue("Carteassuresadherent"); $this->carte = new Carteassure(); $this->beneficiaire = new Beneficiaire(); $this->police = new Police(); } public function index() { $idPolice = $_SESSION['idPolice_C']; $_SESSION['idPoliceCarte'] = $idPolice; $idAdherent = $_SESSION['idAdherent_C']; $_SESSION['idAdherentCarte'] = $idAdherent; $idCollege = "0"; // Initialisation de la liste des assurés à éditer // $this->carte->initListeEdition($idPolice, $idCollege); $this->carte->initListeEditionAdherent($idAdherent); // Récupération des assurés $editions = $this->carte->getListeEdition($idPolice); $listeEdition = $this->carte->getEditionsChoisies(); $nbreChoisi = $this->carte->getNbreEditionsChoisies(); $choixToute = $this->carte->getChoixToute(); /* var_dump ( array ( 'editions' => $editions, 'listeEdition' => $listeEdition, 'nbreChoisi' => $nbreChoisi, 'choixToute' => $choixToute ) ); exit(); */ $this->genererVue ( array ( 'editions' => $editions, 'listeEdition' => $listeEdition, 'nbreChoisi' => $nbreChoisi, 'choixToute' => $choixToute ) ); } }