/trunk/bibliotheque/dao/CollectionDao.php |
---|
25,7 → 25,7 |
* @return array un tableau contenant les informations sur la collection. |
*/ |
public function getCollection($id) { |
$url = $this->url_jrest.self::SERVICE_COLLECTION."/*/$id/*"; |
$url = $this->url_jrest.self::SERVICE_COLLECTION."/$id/*"; |
$json = $this->envoyerRequeteConsultation($url); |
$donnees = json_decode($json, true); |
return $donnees['collections']; |