menuvue = new Menuvueprofil(); $this->menuvue->getMenuVue("Tacheassure"); //$this->acteurtache_dest = (new Acteurtache())->getListe_adherent(); $this->tache = new Tachesante(); $this->acteurtache_crea = (new Acteurtache())->getListe_assure(); $this->acteurtache_dest = (new Acteurtache())->getListe_assure(); $this->typtachesante = (new Typtachesante())->getListe(); $this->etattachesante = (new Etattachesante())->getListe(); } public function index() { $codeInitiateur=""; $codeDestinataire=""; $codeTypTache=""; $codeEtatTache="0"; if (isset($_POST['codeEtatTache'])) { $codeInitiateur = $this->requete->getParametreFormulaire("codeInitiateur"); $codeDestinataire = $this->requete->getParametreFormulaire("codeDestinataire"); $codeTypTache = $this->requete->getParametreFormulaire("codeTypTache"); $codeEtatTache = $this->requete->getParametreFormulaire("codeEtatTache"); } $taches = $this->tache->afficherTachesassure($codeInitiateur, $codeDestinataire, $codeTypTache, $codeEtatTache); $this->genererVue(array('taches' => $taches, 'acteurtache_crea' => $this->acteurtache_crea, 'acteurtache_dest' => $this->acteurtache_dest, 'codeInitiateur' => $codeInitiateur, 'codeDestinataire' => $codeDestinataire, 'typtachesante' => $this->typtachesante, 'etattachesante' => $this->etattachesante, 'codeEtatTache' => $codeEtatTache, 'codeTypTache' => $codeTypTache)); } public function pointerTache() { $idTache = $this->requete->getParametre("id"); $this->tache->pointerTache($idTache); $this->executerAction("index"); } }