Subversion Repositories Sites.obs-saisons.fr

Rev

Rev 91 | Rev 210 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 91 Rev 98
Line 58... Line 58...
58
		$donnees['id_participant'] = AppControleur::getIdUtilisateur();
58
		$donnees['id_participant'] = AppControleur::getIdUtilisateur();
Line 59... Line 59...
59
		
59
		
60
        if (is_numeric($id_station)) {
60
        if (is_numeric($id_station)) {
61
            $url = $this->url_jrest.self::SERVICE_STATION."/$id_station";
61
            $url = $this->url_jrest.self::SERVICE_STATION."/$id_station";
-
 
62
            $json = $this->envoyerRequeteModif($url, $donnees);
62
            $json = $this->envoyerRequeteModif($url, $donnees);
63
            
-
 
64
           	$donnees_retour = json_decode($json, true);
63
            $donnees = json_decode($json, true);
65
           	
64
            if (true) {
66
           	if($donnees_retour['reponse'] == 'OK') {
65
            	//TODO: verifier modification   
67
           		return true;
-
 
68
           	}
66
            }
69
                   
Line 67... Line 70...
67
        }
70
        }
68
		
71
		
69
		return true;
72
		return false;
70
	}
73
	}
71
}
74
}