X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/00aed47c6f40c12d108df4412d807f84c0bd7097..61e3a053723a6a1131e234aa8ad1a37f18bbec56:/lib/ParameterParser.php?ds=sidebyside diff --git a/lib/ParameterParser.php b/lib/ParameterParser.php index cb03c6cc..32a848b9 100644 --- a/lib/ParameterParser.php +++ b/lib/ParameterParser.php @@ -118,4 +118,15 @@ class ParameterParser $aLangPrefOrder['type'] = 'type'; return $aLangPrefOrder; } + + public function hasSetAny($aParamNames) + { + foreach ($aParamNames as $sName) { + if ($this->getBool($sName)) { + return true; + } + } + + return false; + } }