/trunk/jrest/services/CelWidgetExport.php |
---|
62,6 → 62,10 |
); |
private $format = 'csv'; |
public function getRessource() { |
return $this->getElement(array()); |
} |
/** |
* Méthode appelée avec une requête de type GET. |
81,7 → 85,7 |
unset($criteres['debut']); |
$observations = $chercheur_observations->rechercherObservations(null, $criteres, $numero_page, $limite); |
//echo count($observations);exit; |
switch($this->format) { |
case 'csv': |
$csv = $this->convertirEnCsv($observations); |