12,7 → 12,7 |
* @version SVN: $Id$ |
* |
*/ |
class MetadonneeDao extends ColModele { |
class MetadonneeDao extends Dao { |
const SERVICE_ONTOLOGIE = 'CoelValeurListe'; |
|
/** |
23,7 → 23,7 |
*/ |
public function getOntologie($id) { |
$url = $this->url_jrest.self::SERVICE_ONTOLOGIE."/id/$id?limit=500"; |
$json = file_get_contents($url); |
$json = $this->envoyerRequeteConsultation($url); |
$donnees = json_decode($json, true); |
return $donnees; |
} |
38,7 → 38,7 |
$donnees = array(); |
if (!empty($id_valeurs)) { |
$url = $this->url_jrest.self::SERVICE_ONTOLOGIE."/idv/$id_valeurs"; |
$json = file_get_contents($url); |
$json = $this->envoyerRequeteConsultation($url); |
$donnees = json_decode($json, true); |
} |
return $donnees; |