private criteriaRequiresDql ( array $criteria ) : boolean | ||
$criteria | array | |
return | boolean |
private function criteriaRequiresDql(array $criteria)
{
foreach ($criteria as $key => $val) {
if (preg_match('~[\\?\\s\\.]~', $key)) {
return TRUE;
}
}
return FALSE;
}