Exemplo n.º 1
0
 public static function CreateFilters($filter, $field, $fields)
 {
     return $filter != null ? $field != null && $field != "All" ? ' AND ' . $field . ' LIKE "%' . $filter . '%"' : " AND (" . SqlHelper::GetFilters(explode(",", $fields), $filter) . ")" : "";
 }