Subversion Repositories Applications.referentiel

Rev

Rev 89 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 89 Rev 104
Line 55... Line 55...
55
		$json = $this->envoyerRequeteConsultation($url);
55
		$json = $this->envoyerRequeteConsultation($url);
56
		$donnees = json_decode($json, true);
56
		$donnees = json_decode($json, true);
57
		return $donnees;
57
		return $donnees;
58
	}
58
	}
Line -... Line 59...
-
 
59
	
-
 
60
	public function getNomsBasionymeCommun($ref, $basionyme) {
-
 
61
		$url = $this->url_jrest.self::SERVICE."/Basionyme/$ref/$basionyme";
-
 
62
		$json = $this->envoyerRequeteConsultation($url);
-
 
63
		$donnees = json_decode($json, true);
-
 
64
		return $donnees;
-
 
65
	}
59
	
66
	
60
	//Classification
67
	//Classification
61
	public function getClassification($type, $ref, $id) {
68
	public function getClassification($type, $ref, $id) {
62
		$url = $this->url_jrest.self::SERVICE."/Taxon$type/$ref/$id";
69
		$url = $this->url_jrest.self::SERVICE."/Taxon$type/$ref/$id";
63
		$json = $this->envoyerRequeteConsultation($url);
70
		$json = $this->envoyerRequeteConsultation($url);