/trunk/modeles/StructureDao.php |
---|
52,8 → 52,8 |
$url = $this->url_jrest.self::SERVICE_STRUCTURE_A_PERSONNE."/$id"; |
$json = file_get_contents($url); |
$donnees = json_decode($json, true); |
$this->nettoyerTableauDeTableauxAssoc($donnees['structuresAPersonne']); |
return $donnees['structuresAPersonne']; |
$this->nettoyerTableauDeTableauxAssoc($donnees); |
return $donnees; |
} |
} |
?> |
/trunk/modeles/PersonneDao.php |
---|
45,8 → 45,8 |
$url = $this->url_jrest.self::SERVICE_PERSONNE_A_PUBLICATION."/*/$id_personne/2361,2362,2363"; |
$json = file_get_contents($url); |
$donnees = json_decode($json, true); |
$this->nettoyerTableauDeTableauxAssoc($donnees['publicationsAPersonne']); |
return $donnees['publicationsAPersonne']; |
$this->nettoyerTableauDeTableauxAssoc($donnees); |
return $donnees; |
} |
public function getPersonneNomComplet($id) { |
/trunk/modeles/CollectionDao.php |
---|
54,8 → 54,8 |
$url = $this->url_jrest.self::SERVICE_COLLECTION_A_PERSONNE."/$id_collection"; |
$json = file_get_contents($url); |
$donnees = json_decode($json, true); |
$this->nettoyerTableauDeTableauxAssoc($donnees['collectionsAPersonne']); |
return $donnees['collectionsAPersonne']; |
$this->nettoyerTableauDeTableauxAssoc($donnees); |
return $donnees; |
} |
/** |
68,8 → 68,8 |
$url = $this->url_jrest.self::SERVICE_COLLECTION_A_PUBLICATION."/$id_collection"; |
$json = file_get_contents($url); |
$donnees = json_decode($json, true); |
$this->nettoyerTableauDeTableauxAssoc($donnees['collectionsAPublication']); |
return $donnees['collectionsAPublication']; |
$this->nettoyerTableauDeTableauxAssoc($donnees); |
return $donnees; |
} |
/** |
83,8 → 83,8 |
$url = $this->url_jrest.self::SERVICE_COLLECTION_A_COMMENTAIRE."/$id_collection/$commentaire_public"; |
$json = file_get_contents($url); |
$donnees = json_decode($json, true); |
$this->nettoyerTableauDeTableauxAssoc($donnees['collectionsACommentaire']); |
return $donnees['collectionsACommentaire']; |
$this->nettoyerTableauDeTableauxAssoc($donnees); |
return $donnees; |
} |
} |
?> |
/trunk/squelettes/fiche_structure.tpl.html |
---|
57,7 → 57,6 |
<dl class="label-moyen"> |
<dt>Personnel des collections</dt> <dd><?=count($personnel)?></dd> |
</dl> |
<hr class="nettoyeur"/> |
<?php if (count($personnel) > 0) : ?> |
<h3>Membres du personnel</h3> |
<table> |