Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 155 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 155 Rev 173
Line 12... Line 12...
12
		$this->executerAccueil();
12
		$this->executerAccueil();
13
	}
13
	}
Line 14... Line 14...
14
 
14
 
15
	public function executerAccueil() {
15
	public function executerAccueil() {
-
 
16
		$donnees = array();
16
		$donnees = array();
17
		$donnees['form_niveau'] = $this->afficherNiveau();
17
		$donnees['form_nom'] = $this->executerFormulaireNom();
18
		$donnees['form_nom'] = $this->executerFormulaireNom();
18
		$this->afficherAccueil($donnees);
19
		$this->afficherAccueil($donnees);
Line 19... Line 20...
19
	}
20
	}
20
 
21
 
21
	private function afficherAccueil($donnees) {
22
	private function afficherAccueil($donnees) {
22
		$donnees['i18n'] = I18n::get('Recherche-accueil');
23
		$donnees['i18n'] = I18n::get('Recherche-accueil');
-
 
24
		$this->setSortie(self::RENDU_CORPS, $this->getVue('recherche_accueil', $donnees));
Line 23... Line 25...
23
		$this->setSortie(self::RENDU_CORPS, $this->getVue('recherche_accueil', $donnees));
25
	}
24
	}
26
	
25
 
27
 
26
	public function executerFormulaireNom($donnees = array()) {
28
	public function executerFormulaireNom($donnees = array()) {
Line 45... Line 47...
45
		return $this->getVue('form_nom', $donnees);
47
		return $this->getVue('form_nom', $donnees);
46
	}
48
	}
Line 47... Line 49...
47
 
49
 
48
	public function executerForm() {
50
	public function executerForm() {
-
 
51
		$donnees = Registre::get('donneesMoteur');
49
		$donnees = Registre::get('donneesMoteur');
52
		$donnees['form_niveau'] = $this->afficherNiveau();
50
		$donnees['form_nom'] = $this->executerFormulaireNom($donnees);
53
		$donnees['form_nom'] = $this->executerFormulaireNom($donnees);
51
		$this->afficherAccueil($donnees);
54
		$this->afficherAccueil($donnees);
52
		Registre::detruire('donneesMoteur');
55
		Registre::detruire('donneesMoteur');
-
 
56
	}
-
 
57
	
-
 
58
	private function afficherNiveau() {
-
 
59
		$donnees['url_form'] = $this->urls->obtenirUrlBase();
-
 
60
		$donnees['i18n'] = I18n::get('Niveau');
-
 
61
		$donnees['niveau'] = Registre::get('parametres.niveau');
-
 
62
		return $this->getVue('niveau', $donnees);
-
 
63
	}
-
 
64
	
-
 
65
	public function executerNiveau() {
-
 
66
		Registre::set('parametres.niveau', $_GET['niveau']);
-
 
67
		$this->executerAccueil();
53
	}
68
	}
54
}
69
}
55
?>
70
?>