Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 165 Rev 196
Line 31... Line 31...
31
		return $this->chargerDonnees($url);
31
		return $this->chargerDonnees($url);
32
	}
32
	}
Line 33... Line 33...
33
	
33
	
34
	private function getUrlRecherche($nom, $typeRech) {
34
	private function getUrlRecherche($nom, $typeRech) {
35
		$tpl = Config::get('nomsVernaRechercheTpl');
35
		$tpl = Config::get('nomsVernaRechercheTpl');
36
		$params = array('valeur' => $nom, 'type' => $typeRech);
36
		$params = array('valeur' => $nom, 'type' => $typeRech, 'langue' => 'fra');
37
		Debug::printr($params,'Params');
37
		Debug::printr($params,'Params');
38
		$url = $this->formaterUrl($tpl, $params);
38
		$url = $this->formaterUrl($tpl, $params);
39
		Debug::printr($tpl,'TPL');
39
		Debug::printr($tpl,'TPL');
40
		Debug::printr($url,'URL');
40
		Debug::printr($url,'URL');
41
		return $url;
41
		return $url;
Line 42... Line 42...
42
	}
42
	}
43
	
43
	
44
	private function getUrlRechercheDetermination($nom, $typeRech) {
44
	private function getUrlRechercheDetermination($nom, $typeRech) {
45
		$tpl = Config::get('nomsVernaRechercheTpl');
45
		$tpl = Config::get('nomsVernaRechercheDeterminationTpl');
46
		$params = array('valeur' => $nom, 'type' => $typeRech);
46
		$params = array('valeur' => $nom, 'type' => $typeRech, 'langue' => 'fra');
47
		Debug::printr($params,'Params');
47
		Debug::printr($params,'Params');
48
		$url = $this->formaterUrl($tpl, $params);
48
		$url = $this->formaterUrl($tpl, $params);
49
		Debug::printr($tpl,'TPL');
49
		Debug::printr($tpl,'TPL');