Example #1
0
 /**
  * @param FilterDatasourceAdapterInterface $ds
  * @param string                           $fieldName
  *
  * @return bool
  */
 protected function isAggregateField(FilterDatasourceAdapterInterface $ds, $fieldName)
 {
     return (bool) preg_match('/(?<![\\w:.])(\\w+)\\s*\\(/im', $ds->getFieldByAlias($fieldName));
 }