Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 926 Rev 927
Line 40... Line 40...
40
		}
40
		}
41
		return $this->partages['AppUrls'];
41
		return $this->partages['AppUrls'];
42
	}
42
	}
Line 43... Line 43...
43
 
43
 
44
	public function getApiNoms() {
-
 
45
		if (isset($this->getParametre('referentiel'))) {
44
	public function getApiNoms() {
46
			$noms = new Noms($this->getParametre('referentiel'));
-
 
47
		} else {
-
 
48
			$noms = new Noms($this->getParametre('referentiel_defaut'));
-
 
49
		}
45
			$noms = new Noms($this->getParametre('referentiel'));
50
		return $noms;
46
		return $noms;
Line 51... Line 47...
51
	}
47
	}
52
 
-
 
53
	public function getApiTaxons() {
48
 
54
		if (isset($this->getParametre('referentiel'))) {
-
 
55
			$taxons = new Taxons($this->getParametre('referentiel'));
-
 
56
		} else {
-
 
57
			$taxons = new Taxons($this->getParametre('referentiel_defaut'));
49
	public function getApiTaxons() {
58
		}
50
			$taxons = new Taxons($this->getParametre('referentiel'));
Line 59... Line 51...
59
		return $taxons;
51
		return $taxons;
60
	}
52
	}