Subversion Repositories Sites.obs-saisons.fr

Rev

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

Rev 91 Rev 207
Line 30... Line 30...
30
        $donnees = json_decode($json, true);
30
        $donnees = json_decode($json, true);
31
        return $donnees;
31
        return $donnees;
32
	}
32
	}
Line 33... Line 33...
33
	    
33
	    
34
	public function getListeObservationsPourIndividu($id_individu, $annee = null) {
34
	public function getListeObservationsPourIndividu($id_individu, $annee = null) {
35
	    	    
35
		
36
	    if (is_numeric($id_individu)) {
36
	    if (is_numeric($id_individu)) {
37
		    $url = $this->url_jrest.self::SERVICE_OBSERVATION.'/'.self::METHODE_OBSERVATION_INDIVIDU.'/'.$id_individu;
37
		    $url = $this->url_jrest.self::SERVICE_OBSERVATION.'/'.self::METHODE_OBSERVATION_INDIVIDU.'/'.$id_individu;
38
	        $json = $this->envoyerRequeteConsultation($url);
38
	        $json = $this->envoyerRequeteConsultation($url);