static function db_listQuery($field, $value) { $value = (string) $value; if (strpos(',', $value) !== FALSE) { throw new InvalidArgumentException('$value must not contain a comma (,) in $this->db_listQuery() !', 1294585862); } $pattern = tx_ameosformidable::db_quoteStr($value); $where = 'FIND_IN_SET(\'' . $pattern . '\',' . $field . ')'; return $where; }