Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 141 Rev 216
Line 11... Line 11...
11
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
11
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
12
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
12
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
13
 * @version		$Id$
13
 * @version		$Id$
14
 */
14
 */
15
class Fiche extends aControleur {
15
class Fiche extends aControleur {
-
 
16
	public function initialiser() {
-
 
17
		$this->capturerParametres();
-
 
18
	}
Line 16... Line 19...
16
	
19
	
17
	public function executerActionParDefaut() {
20
	public function executerActionParDefaut() {
18
		$this->executerFiche();
21
		$this->executerFiche();
Line 19... Line 22...
19
	}
22
	}
-
 
23
	
-
 
24
	public function executerFiche(){
20
	
25
		$donnees_recherche = array('type_nom' => $this->type_nom, 'nom' => $this->nom);
-
 
26
		$this->executerAction('Recherche', 'executerAccueil', $donnees_recherche);
-
 
27
		$this->setSortie(self::RENDU_CORPS, $this->getVue('fiche_accueil'), true);
-
 
28
	}
-
 
29
	
-
 
30
	private function capturerParametres() {
-
 
31
		if (isset($_GET['nom'])) {
-
 
32
			$this->nom = $_GET['nom'];
-
 
33
		}
-
 
34
		if (isset($_GET['type_nom'])) {
-
 
35
			$this->type_nom = $_GET['type_nom'];
-
 
36
		}
-
 
37
		
-
 
38
		if (isset($_GET['niveau'])) {
21
	public function executerFiche(){
39
			Registre::set('parametres.niveau', $_GET['niveau']);
22
		$this->setSortie(self::RENDU_CORPS, $this->getVue('fiche_accueil'));
40
		}
23
	}
41
	}
24
}
42
}