commit | author | age
|
9f6455
|
1 |
<?php |
DC |
2 |
|
|
3 |
return [ |
|
4 |
|
|
5 |
/* |
|
6 |
|-------------------------------------------------------------------------- |
|
7 |
| Filter types |
|
8 |
|-------------------------------------------------------------------------- |
|
9 |
| |
|
10 |
| Defines the types of filters that can be used for searches |
|
11 |
| |
|
12 |
*/ |
|
13 |
|
|
14 |
'filter_types' => [ |
|
15 |
'match' => 'Match', |
|
16 |
'like' => 'Like', |
|
17 |
'between' => 'Between', |
|
18 |
'greater_than' => 'GreaterThan', |
|
19 |
'greater_or_equal' => 'GreaterOrEqual', |
|
20 |
'less_than' => 'LessThan', |
|
21 |
'less_or_equal' => 'LessOrEqual', |
|
22 |
'date_greater_than' => 'DateGreaterThan', |
|
23 |
'date_greater_or_equal' => 'DateGreaterOrEqual', |
|
24 |
'date_less_than' => 'DateLessThan', |
|
25 |
'date_less_or_equal' => 'DateLessOrEqual', |
|
26 |
|
|
27 |
'date_greater_than_nullable' => 'DateGreaterThanNullable', |
|
28 |
'date_greater_or_equal_nullable' => 'DateGreaterOrEqualNullable', |
|
29 |
'date_less_than_nullable' => 'DateLessThanNullable', |
|
30 |
'date_less_or_equal_nullable' => 'DateLessOrEqualNullable', |
|
31 |
|
|
32 |
'different' => 'Different', |
|
33 |
'in' => 'In', |
|
34 |
], |
|
35 |
|
|
36 |
|
|
37 |
/* |
|
38 |
|-------------------------------------------------------------------------- |
|
39 |
| Filter logical operators |
|
40 |
|-------------------------------------------------------------------------- |
|
41 |
| |
|
42 |
| Defines filter logical operators that can be used for searches |
|
43 |
| |
|
44 |
*/ |
|
45 |
|
|
46 |
'logical_operators' => [ |
|
47 |
'and' => 'where', |
|
48 |
'or' => 'orWhere', |
|
49 |
], |
|
50 |
|
|
51 |
]; |