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; |
} |
|
|
|
} |