Example #1
0
 /**
  * permet d'obtenir une liste de FichePrestataire à partir d'un tableau id FichePrestataire.
  *
  * @param Client $apiClient
  *
  * @return \SitecRESA\Datatype\AccesResolverList
  */
 static function listePrestatairesAggregateur($apiClient, $aIdFichePrestataire = array())
 {
     if (sizeof($aIdFichePrestataire) > 0) {
         $a = '{';
         foreach ($aIdFichePrestataire as $key => $idFiche) {
             $a .= '"' . $key . '":"' . $idFiche . '",';
         }
         $a = substr($a, 0, -1);
         $a .= '}';
     }
     $params = array("idOrganisme" => $a);
     return $apiClient->listeorganismes("get", $params);
 }