Rev 210 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php// declare(encoding='UTF-8');/*** Modèle d'accès à la base de données pour l'export** @package ODS_saisie* @category php 5.2* @author Aurélien Peronnet <aurelien@tela-botanica.org>* @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 ExportDao extends Dao {const SERVICE_EXPORT = 'OdsExport';const METHODE_EXPORT_EVENEMENTS = 'ExportObservationPlat';/*** Retourne l'ensemble des especes.** @return array un tableau contenant les informations sur les evenement d'une espece.*/public function getExportObservations($id_espece) {$url = $this->url_jrest.self::SERVICE_EXPORT.'/'.self::METHODE_EXPORT_EVENEMENTS.'/?utilisateur='.AppControleur::getIdUtilisateur();$json = $this->envoyerRequeteConsultation($url);$donnees = json_decode($json, true);return $donnees;}}