Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 778 → Rev 777

/trunk/metier/api_0.1/Informations.php
10,17 → 10,8
private $bdnt;
private $num_nom;
private $limite;
private $depart;
public function setDepart($depart){
$this->depart = $depart;
}
public function setLimite($limite){
$this->limite = $limite;
}
public function setBdnt($bdnt){
$this->bdnt = $bdnt;
35,8 → 26,6
return $this->chargerDonnees($url);
}
 
public function getInformationsEcologie() {
$url = $this->getUrlInformation();
$url .= '?categorie=ecologie';
56,17 → 45,6
return $url;
}
public function getInformationsRelationCatminat() {
$url = $this->getUrlInformationsRelationCatminat();
return $this->chargerDonnees($url);
}
public function getUrlInformationsRelationCatminat() {
$tpl = Config::get('informationsRelationCatminat');
$params = array( 'bdnt' => $this->bdnt, 'num_nom' => $this->num_nom, 'limite' => $this->limite, 'depart' => $this->depart );
$url = $this->formaterUrl($tpl, $params);
return $url;
}
 
}