From eb357e48d16e35d653f0bccad10563b6a051512b Mon Sep 17 00:00:00 2001 From: stubbfel Date: Wed, 4 Sep 2013 12:29:40 +0200 Subject: [PATCH] hot fixen --- geoapi/service/pis/index.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/geoapi/service/pis/index.php b/geoapi/service/pis/index.php index c86b337..61dd975 100644 --- a/geoapi/service/pis/index.php +++ b/geoapi/service/pis/index.php @@ -25,5 +25,18 @@ $app->get(\api\PisApi::$routeParameterPids . \api\PisApi::$routParameterIPatter, echo $app->sendPisQuery($queryArgs); }); +$app->get(\api\PisApi::$routeParameterPids . \api\PisApi::$routeParameterINames, function ($pid, $iNames = array()) use ($app) { + $queryArgs = array(); + $queryArgs[\api\PisApi::$keyPidList] = $pid; + $queryArgs[\api\PisApi::$keyINameList] = $iNames; + echo $app->sendPisQuery($queryArgs); + }); + +$app->get(\api\PisApi::$routeParameterPids, function ($pid) use ($app) { + $queryArgs = array(); + $queryArgs[\api\PisApi::$keyPidList] = $pid; + echo $app->sendPisQuery($queryArgs); + }); + $app->run(); ?>