28,6 → 28,7 |
protected $table_retour = array(); |
protected $format_reponse = 'metaDonnees'; |
protected $table_ressources; |
static $cache_ontologies = array(); |
|
|
public function consulter($ressources, $parametres) { |
419,6 → 420,9 |
if (in_array($champ, array('langue', 'langue_meta', 'couverture_spatiale'))) { |
$url .= '/'.$nom; |
} |
if(array_key_exists($url, self::$cache_ontologies)) { |
return self::$cache_ontologies[$url]; |
} |
$signification = $this->consulterHref($url); |
if (isset($signification->$nom)) { |
$res = $signification->$nom; |
426,6 → 430,7 |
$nom = 'nom.fr'; |
$res = $signification->$nom; |
} |
self::$cache_ontologies[$url] = $res; |
return $res ; |
} |
|
514,10 → 519,4 |
$this->table_retour['langue_meta'] = $version['langue_meta']; |
$this->table_retour['guid'] = $version['guid']; |
} |
|
|
|
|
} |
|
?> |