10,9 → 10,18 |
|
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; |
} |
26,6 → 35,8 |
return $this->chargerDonnees($url); |
} |
|
|
|
public function getInformationsEcologie() { |
$url = $this->getUrlInformation(); |
$url .= '?categorie=ecologie'; |
45,6 → 56,17 |
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; |
} |
|
|
} |