Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 925 → Rev 926

/trunk/bibliotheque/Conteneur.php
42,12 → 42,20
}
 
public function getApiNoms() {
$noms = new Noms($this->getParametre('referentiel_defaut'));
if (isset($this->getParametre('referentiel'))) {
$noms = new Noms($this->getParametre('referentiel'));
} else {
$noms = new Noms($this->getParametre('referentiel_defaut'));
}
return $noms;
}
 
public function getApiTaxons() {
$taxons = new Taxons($this->getParametre('referentiel_defaut'));
if (isset($this->getParametre('referentiel'))) {
$taxons = new Taxons($this->getParametre('referentiel'));
} else {
$taxons = new Taxons($this->getParametre('referentiel_defaut'));
}
return $taxons;
}