* @copyright 2010 Tela-Botanica * @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL * @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL * @version SVN: $Id: StationDao.php 154 2010-09-13 12:15:11Z aurelien $ * */ class EspeceDao extends Dao { const SERVICE_ESPECE = 'OdsEspece'; const METHODE_ESPECES_TYPE = 'EspecesActivesParType'; /** * Retourne l'ensemble des especes présentes organisées hierarchiquement par type. * * @return array un tableau contenant les informations sur les especes. */ public function getListeEspecesParType() { $url = $this->url_jrest.self::SERVICE_ESPECE.'/'.self::METHODE_ESPECES_TYPE.'/'; $json = $this->envoyerRequeteConsultation($url); $donnees = json_decode($json, true); return $donnees; } } ?>