Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 931 Rev 967
Line 44... Line 44...
44
			}
44
			}
45
		}
45
		}
46
	}
46
	}
Line 47... Line 47...
47
 
47
 
-
 
48
	private function capturerParametres() {
48
	private function capturerParametres() {
49
		$this->parametres->masqueRecherche = "";
49
		if (isset($_GET['resultat'])) {
50
		if (isset($_GET['resultat'])) {
50
			$this->parametres->typeResultat = $_GET['resultat'];
51
			$this->parametres->typeResultat = $_GET['resultat'];
51
		}
52
		}
52
		if (isset($_GET['nom'])) {
53
		if (isset($_GET['nom'])) {
53
			$this->parametres->masqueRecherche = trim($_GET['nom']);
54
			$this->parametres->masqueRecherche = trim($_GET['nom']);
-
 
55
		}
-
 
56
		//recherche avancee type
-
 
57
		if (isset($_GET['fam'])) {
-
 
58
			$this->parametres->masqueRecherche .= trim($_GET['fam']);
-
 
59
		}
-
 
60
		if (isset($_GET['gen'])) {
-
 
61
			$this->parametres->masqueRecherche .= trim($_GET['gen']);
-
 
62
		}
-
 
63
		if (isset($_GET['sp'])) {
-
 
64
			$this->parametres->masqueRecherche .= trim($_GET['sp']);
-
 
65
		}
-
 
66
		if (isset($_GET['ssp'])) {
-
 
67
			$this->parametres->masqueRecherche .= trim($_GET['ssp']);
-
 
68
		}
-
 
69
		if (isset($_GET['and'])) {
-
 
70
			$this->parametres->masqueRecherche .= trim($_GET['and']);
-
 
71
		}
-
 
72
		if (isset($_GET['anf'])) {
-
 
73
			$this->parametres->masqueRecherche .= trim($_GET['anf']);
-
 
74
		}
-
 
75
		if (isset($_GET['au'])) {
-
 
76
			$this->parametres->masqueRecherche .= trim($_GET['au']);
-
 
77
		}
-
 
78
		if (isset($_GET['bib'])) {
-
 
79
			$this->parametres->masqueRecherche .= trim($_GET['bib']);
-
 
80
		}
-
 
81
		
54
		}
82
		
55
		if (isset($_GET['type_nom'])) {
83
		if (isset($_GET['type_nom'])) {
56
			$this->parametres->typeNom = $_GET['type_nom'];
84
			$this->parametres->typeNom = $_GET['type_nom'];
Line 57... Line 85...
57
		}
85
		}