Revision d1340823
Von Sven Schöling vor mehr als 12 Jahren hinzugefügt
SL/Controller/Helper/ParseFilter.pm | ||
---|---|---|
20 | 20 |
); |
21 | 21 |
|
22 | 22 |
my %methods = ( |
23 |
lt => sub { +{ lt => $_[0] } }, |
|
24 |
gt => sub { +{ gt => $_[0] } }, |
|
25 |
ilike => sub { +{ ilike => $_[0] } }, |
|
26 |
like => sub { +{ like => $_[0] } }, |
|
27 | 23 |
enable => sub { ;;;; }, |
24 |
map { |
|
25 |
$_ => sub { +{ $_ => $_[0] } }, |
|
26 |
} qw(similar match imatch regex regexp like ilike rlike is is_not ne eq lt gt le ge), |
|
28 | 27 |
); |
29 | 28 |
|
30 | 29 |
sub parse_filter { |
Auch abrufbar als: Unified diff
ParseFilter kann jetzt alle Rose Filter.