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']; |
} |
} |
?> |