menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Ajouterprestataire'); $this->prestataire = new Prestataire(); $this->typeprestataire = new Typeprestataire(); $this->reseausoins = new Reseausoins(); $this->pays = new Pays(); $this->ville = new Ville(); $this->localite = new Localite(); $this->tarifacte = new Tarifsactes(); $this->tarifsmedicament = new Tarifsmedicaments(); $this->tarifsoptique = new Tarifsoptiques(); $this->typedecompte = new Typedecompte(); $this->ouinonconvention = (new Ouinon())->getListe(); $this->ouinongestionreseau = (new Ouinon())->getListe(); $this->banque = new Banque(); $this->langue = new Langue(); } public function index() { $codeSociete = $_SESSION['codeSociete']; $codePays = $_SESSION['codePaysSociete']; $codeVille = ""; $pays = $this->pays->getListe($codePays); $ville = $this->ville->getListe($codePays); $localite = $this->localite->getListe($codePays, $codeVille); $categorie = $this->prestataire->getcategoriepresatataire(); $typeprestataire = array(); //$reseausoins = $this->reseausoins->getListe(); $tarifacte = $this->tarifacte->getListe(); $tarifsmedicament = $this->tarifsmedicament->getListe(); $tarifsoptique = $this->tarifsoptique->getListe(); $typedecompte = $this->typedecompte->getListeDecomptePrestataire(); $banque = $this->banque->getListe(); $langue = $this->langue->getListe(); $this->genererVue(array( 'pays' => $pays, 'ville' => $ville, 'listelocalite' => $localite, 'typeprestataire' => $typeprestataire, 'categorie' => $categorie, 'tarifacte' => $tarifacte, 'banque' => $banque, 'tarifsmedicament' => $tarifsmedicament, 'tarifsoptique' => $tarifsoptique, 'typedecompte' => $typedecompte, 'ouinonconvention' => $this->ouinonconvention, 'ouinongestionreseau' => $this->ouinongestionreseau, 'langue' => $langue )); } }