Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 44 Rev 53
Line 30... Line 30...
30
		Debug::printr($projet);
30
		Debug::printr($projet);
31
		$params = array('projet' => $projet, 'rang' => $rang);
31
		$params = array('projet' => $projet, 'rang' => $rang);
32
		$url = $this->formaterUrl($tpl, $params);
32
		$url = $this->formaterUrl($tpl, $params);
33
		return $url;
33
		return $url;
34
	}
34
	}
-
 
35
	
-
 
36
	public function getRechercheEtendue($nom) {
-
 
37
		$url = $this->getUrlRecherche($nom, 'etendue');
-
 
38
		return $this->chargerDonnees($url);
-
 
39
	}
-
 
40
	
-
 
41
	public function getRechercheFloue($nom) {
-
 
42
		$url = $this->getUrlRecherche($nom, 'floue');
-
 
43
		return $this->chargerDonnees($url);
-
 
44
	}
-
 
45
	
-
 
46
	private function getUrlRecherche($nom, $typeRech) {
-
 
47
		$tpl = Config::get('nomsRechercheTpl');
-
 
48
		$projet = Registre::get('parametres.referentiel');
-
 
49
		Debug::printr($projet);
-
 
50
		$params = array('projet' => $projet, 'valeur' => $nom, 'type' => $typeRech);
-
 
51
		$url = $this->formaterUrl($tpl, $params);
-
 
52
		return $url;
-
 
53
	}
35
}
54
}
36
?>
55
?>
37
56