14,6 → 14,11 |
*/ |
class Taxons extends Eflore { |
|
public function getTaxon($nn) { |
$url = $this->getUrlTaxon($nn); |
return $this->chargerDonnees($url); |
} |
|
public function getStatsInitialesFamille() { |
$url = $this->getUrlStatsInitiales(self::RANG_FAMILLE); |
$donnees = $this->chargerDonnees($url); |
26,6 → 31,12 |
return $initiales; |
} |
|
private function getUrlTaxon($nn) { |
$tpl = Config::get('taxonTpl'); |
$params = array('id' => $nn); |
$url = $this->formaterUrl($tpl, $params); |
return $url; |
} |
|
public function getStatsInitialesGenre() { |
$url = $this->getUrlStatsInitiales(self::RANG_GENRE); |