Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 776 Rev 926
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'))) {
-
 
46
			$noms = new Noms($this->getParametre('referentiel'));
44
	public function getApiNoms() {
47
		} else {
-
 
48
			$noms = new Noms($this->getParametre('referentiel_defaut'));
45
		$noms = new Noms($this->getParametre('referentiel_defaut'));
49
		}
46
		return $noms;
50
		return $noms;
Line 47... Line 51...
47
	}
51
	}
-
 
52
 
-
 
53
	public function getApiTaxons() {
-
 
54
		if (isset($this->getParametre('referentiel'))) {
48
 
55
			$taxons = new Taxons($this->getParametre('referentiel'));
-
 
56
		} else {
49
	public function getApiTaxons() {
57
			$taxons = new Taxons($this->getParametre('referentiel_defaut'));
50
		$taxons = new Taxons($this->getParametre('referentiel_defaut'));
58
		}
Line 51... Line 59...
51
		return $taxons;
59
		return $taxons;
52
	}
60
	}