Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 676 Rev 721
Line 72... Line 72...
72
		$parametres['nom'] = $nom;
72
		$parametres['nom'] = $nom;
73
		$this->urlBase->setRequete($parametres);
73
		$this->urlBase->setRequete($parametres);
74
		$url = $this->urlBase->getURL();
74
		$url = $this->urlBase->getURL();
75
		return $url;
75
		return $url;
76
	}
76
	}
-
 
77
	
-
 
78
	public function getParametresUrlRechercheAvancee() {
-
 
79
		$parametres = array(
-
 
80
					'referentiel' => Registre::get('parametres.referentiel'),
-
 
81
					'niveau' => Registre::get('parametres.niveau'),
-
 
82
					'module' => 'recherche',
-
 
83
					'action' => 'rechercheAvancee',
-
 
84
					'type_nom' => 'nom_scientifique'
-
 
85
			);
-
 
86
		return $parametres;
-
 
87
	}
-
 
88
	
-
 
89
	public function obtenirUrlResultatAvanceOnglets($onglet, $params = array()) {
-
 
90
	$parametres = $this->getParametresUrlRechercheAvancee();
-
 
91
	$parametres['resultat'] = $onglet;
-
 
92
	$parametres = array_merge($parametres, $params);
-
 
93
	$this->urlBase->setRequete($parametres);
-
 
94
	$url = $this->urlBase->getURL();
-
 
95
	return $url;
-
 
96
	}
-
 
97
	
-
 
98
	public function obtenirUrlRechercheAvancee($params = array()) {
-
 
99
		$parametres = $this->getParametresUrlRechercheAvancee();
-
 
100
		$parametres = array_merge($parametres,$params);
-
 
101
		$this->urlBase->setRequete($parametres);
-
 
102
		$url = $this->urlBase->getURL();
-
 
103
		return $url;
-
 
104
	}
Line 77... Line 105...
77
 
105
 
78
	public function getParametresUrlResultat() {
106
	public function getParametresUrlResultat() {
79
		$parametres = array(
107
		$parametres = array(
80
				'referentiel' => Registre::get('parametres.referentiel'),
108
				'referentiel' => Registre::get('parametres.referentiel'),
Line 101... Line 129...
101
		$parametres['resultat'] = 'alphab';
129
		$parametres['resultat'] = 'alphab';
102
		$this->urlBase->setRequete($parametres);
130
		$this->urlBase->setRequete($parametres);
103
		$url = $this->urlBase->getURL();
131
		$url = $this->urlBase->getURL();
104
		return $url;
132
		return $url;
105
	}
133
	}
-
 
134
	
-
 
135
	
-
 
136
	
Line 106... Line 137...
106
 
137
 
107
	public function obtenirUrlResultatRetenu() {
138
	public function obtenirUrlResultatRetenu() {
108
		$parametres = $this->getParametresUrlResultat();
139
		$parametres = $this->getParametresUrlResultat();
109
		$parametres['resultat'] = 'retenu';
140
		$parametres['resultat'] = 'retenu';