Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 602 → Rev 601

/trunk/metier/api_0.1/Informations.php
26,18 → 26,6
return $this->chargerDonnees($url);
}
public function getInformationsEcologie() {
$url = $this->getUrlInformation();
$url .= '?champs=ecologie';
return $this->chargerDonnees($url);
}
public function getInformationsDescription() {
$url = $this->getUrlInformation();
$url .= '?champs=description';
return $this->chargerDonnees($url);
}
public function getUrlInformation() {
$tpl = Config::get('informationTpl');
$params = array( 'bdnt' => $this->bdnt, 'num_nom' => $this->num_nom );
44,7 → 32,5
$url = $this->formaterUrl($tpl, $params);
return $url;
}
 
}