]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/ParameterParser.php
website dependencies: jQuery v2.1 => 3.5, leaflet 1.3 => 1.6
[nominatim.git] / lib / ParameterParser.php
index cb03c6cc7c25c77f3b73f3b2347628a328734f83..32a848b93011fce3edaa1975ad6450369b121725 100644 (file)
@@ -118,4 +118,15 @@ class ParameterParser
         $aLangPrefOrder['type'] = 'type';
         return $aLangPrefOrder;
     }
         $aLangPrefOrder['type'] = 'type';
         return $aLangPrefOrder;
     }
+
+    public function hasSetAny($aParamNames)
+    {
+        foreach ($aParamNames as $sName) {
+            if ($this->getBool($sName)) {
+                return true;
+            }
+        }
+
+        return false;
+    }
 }
 }