Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 601 → Rev 602

/trunk/metier/api_0.1/Informations.php
26,6 → 26,18
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 );
32,5 → 44,7
$url = $this->formaterUrl($tpl, $params);
return $url;
}
 
}