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