Search::QS::Filters - A collection of Search::QS::Filter
version 0.04
use Search::QS::Filters; my $flts = new Search::QS::Filters; # parse query_string $flts->parse_qs($qs); # reconvert object to query_string print $flts->to_qs;
This object incapsulate multiple filter elements as a collection of Search::QS::Filter
$perl_struct is an HASHREF which represents a query string like the one returned by "url_params_mixed" in URI::Encode. It parses the struct and extract filter informations
Return a query string of the internal rappresentation of the object
Return this object as a SQL search
Return an HASHREF with 3 keys:
An HASHREF with keys the andGroup keys and elements the filters with the same andGroup key
An HASHREF with keys the orGroup keys and elements the filters with the same orGroup key
An ARRAYREF with all filters non in a and/or-Group.
Emiliano Bruni <info@ebruni.it>
This software is copyright (c) 2019 by Emiliano Bruni.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Search::QS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Search::QS
CPAN shell
perl -MCPAN -e shell install Search::QS
For more information on module installation, please visit the detailed CPAN module installation guide.