Subversion Repositories eFlore/Applications.coel-consultation

Compare Revisions

Ignore whitespace Rev 66 → Rev 67

/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);
return $donnees;
$this->nettoyerTableauDeTableauxAssoc($donnees['publicationsAPersonne']);
return $donnees['publicationsAPersonne'];
}
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);
return $donnees;
$this->nettoyerTableauDeTableauxAssoc($donnees['collectionsAPersonne']);
return $donnees['collectionsAPersonne'];
}
/**
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);
return $donnees;
$this->nettoyerTableauDeTableauxAssoc($donnees['collectionsAPublication']);
return $donnees['collectionsAPublication'];
}
/**
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);
return $donnees;
$this->nettoyerTableauDeTableauxAssoc($donnees['collectionsACommentaire']);
return $donnees['collectionsACommentaire'];
}
}
?>
/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);
return $donnees;
$this->nettoyerTableauDeTableauxAssoc($donnees['structuresAPersonne']);
return $donnees['structuresAPersonne'];
}
}
?>
/trunk/squelettes/fiche_structure.tpl.html
57,6 → 57,7
<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>