39,10 → 39,12 |
$donnees['id'] = $_GET['id']; |
$donnees['info'] = $this->personneDao->getPersonne($donnees['id']); |
$donnees['publications'] = $this->personneDao->getPersonneAPublication($donnees['id']); |
$donnees['collections'] = $this->personneDao->getPersonneACollection($donnees['id']); |
|
// Traitement des données |
$this->traiterDonneesPersonne($donnees['info']); |
$this->traiterDonneesPersonneAPublication($donnees['publications']); |
$this->traiterDonneesPersonneACollection($donnees['collections']); |
$this->postraiterDonnees($donnees); |
$donnees['metadonnees'] = $this->traiterMetaDonnees($donnees['info']); |
|
109,4 → 111,14 |
$publication['_role_'] = $this->construireTxtListeOntologie($publication['cpuap_id_role']); |
} |
} |
|
private function traiterDonneesPersonneACollection(&$collections) { |
// liste 27 : Liste des relations entre une collection et une personne |
Ontologie::chargerListe(1030); |
|
foreach ($collections as &$collection) { |
$collection['_role_'] = $this->construireTxtListeOntologie($collection['ccap_id_role']); |
$collection['_url_'] = $this->obtenirUrlFicheCollection($collection['ccap_id_collection']); |
} |
} |
} |