Subversion Repositories eFlore/Applications.cel

Compare Revisions

Regard whitespace Rev 1707 → Rev 1709

/trunk/jrest/services/CelWidgetExport.php
71,7 → 71,7
* Méthode appelée avec une requête de type GET.
*/
public function getElement($params = array()) {
if(count($params) > 0) {
if(!$params) exit; // ne pas faire de super-requête en cas d'absence de paramètres
switch(strtolower($params[0])) {
case 'calcul':
$this->getCalcul();
84,10 → 84,7
default:
$this->getExport();
}
} else {
$this->getExport();
}
}
private function getCalcul() {
$criteres = $this->traiterParametresAutorises($_GET);