add structured search to command-line query tool

This commit is contained in:
Sarah Hoffmann
2020-02-19 10:20:18 +01:00
parent 02ffa752ea
commit cbddfcde5b
2 changed files with 47 additions and 12 deletions

View File

@@ -118,4 +118,15 @@ class ParameterParser
$aLangPrefOrder['type'] = 'type';
return $aLangPrefOrder;
}
public function hasSetAny($aParams)
{
foreach ($aParams as $sParam) {
if ($this->getBool($sParam)) {
return true;
}
}
return false;
}
}