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