Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 837 → Rev 836

/trunk/services/modules/0.1/commun/MetaDonnees.php
28,7 → 28,6
protected $table_retour = array();
protected $format_reponse = 'metaDonnees';
protected $table_ressources;
static $cache_ontologies = array();
 
 
public function consulter($ressources, $parametres) {
420,9 → 419,6
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;
430,7 → 426,6
$nom = 'nom.fr';
$res = $signification->$nom;
}
self::$cache_ontologies[$url] = $res;
return $res ;
}
 
519,4 → 514,10
$this->table_retour['langue_meta'] = $version['langue_meta'];
$this->table_retour['guid'] = $version['guid'];
}
 
 
 
 
}
 
?>