Subversion Repositories Applications.referentiel

Rev

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

Rev 79 Rev 85
Line 47... Line 47...
47
		$url = $this->url_jrest.self::SERVICE."/TaxonAffichage/$ref/$id";
47
		$url = $this->url_jrest.self::SERVICE."/TaxonAffichage/$ref/$id";
48
		$json = $this->envoyerRequeteConsultation($url);
48
		$json = $this->envoyerRequeteConsultation($url);
49
		$donnees = json_decode($json, true);
49
		$donnees = json_decode($json, true);
50
		return $donnees[0];
50
		return $donnees[0];
51
	}
51
	}
-
 
52
	
-
 
53
	//Classification
-
 
54
	public function getClassification($type, $ref, $id) {
-
 
55
		$url = $this->url_jrest.self::SERVICE."/Taxon$type/$ref/$id";
-
 
56
		$json = $this->envoyerRequeteConsultation($url);
-
 
57
		$donnees = json_decode($json, true);
-
 
58
		return $donnees;
-
 
59
	}
Line 52... Line 60...
52
 
60
 
53
}
61
}
54
?>
62
?>