menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Modifierparametresgeneraux'); $this->societeuser = new Societeuser(); $this->langue = new Langue(); $this->oui_non = new Ouinon(); } public function index() { $idCentreGestion = intval($this->requete->getParametreFormulaire("id")); if($idCentreGestion > '0' ){ $societeuser = $this->societeuser->getVwSocieteuserId($idCentreGestion); }else{ $codeSociete = $_SESSION['codeSociete']; $societeuser = $this->societeuser->getVwSocieteuser($codeSociete); } $langue = $this->langue->getListe(); $pays = $this->societeuser->getPays(); $codePays = $this->requete->getParametreFormulaire("codePays"); $villes = $this->societeuser->getVilles($societeuser["codePays"]); $typeSociete = $this->societeuser->gettypeSociete(); $visitePage = $this->oui_non->getListe(); $this->genererVue(array('societeuser' => $societeuser, 'langue' => $langue, 'typeSociete' => $typeSociete, 'pays' => $pays, 'villes' => $villes, 'visitePage' => $visitePage)); } }