hot fixen

This commit is contained in:
stubbfel
2013-09-04 12:29:40 +02:00
parent 2d10c027a2
commit eb357e48d1

View File

@@ -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();
?>