Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 291 Rev 943
Line 18... Line 18...
18
	public function setVersion($version) {
18
	public function setVersion($version) {
19
		$this->version = $version;
19
		$this->version = $version;
20
	}
20
	}
Line 21... Line 21...
21
 
21
 
22
	public function getMetaDonnees() {
22
	public function getMetaDonnees() {
23
		$url = $this->getUrlRecherche();
23
		$url = $this->getUrlMetaDonnees();
24
		return $this->chargerDonnees($url);
24
		return $this->chargerDonnees($url);
Line 25... Line 25...
25
	}
25
	}
26
 
26
 
27
	private function getUrlRecherche($nom, $typeRech) {
27
	private function getUrlMetaDonnees() {
28
		$tpl = Config::get('metaDonneesTpl');
28
		$tpl = Config::get('metaDonneesTpl');
29
		$params = array('verproj' => 'version.projet', 'version' => $this->version);
29
		$params = array('verproj' => 'version.projet', 'version' => $this->version);
30
		$url = $this->formaterUrl($tpl, $params);
30
		$url = $this->formaterUrl($tpl, $params);