Search::QS::Options - Options query search like limits, start and sort
version 0.04
use Search::QS::Options; my $opt = new Search::QS::Options; # parse query_string $opt->parse_qs($qs); # reconvert object to query_string print $opt->to_qs;
This object incapsulate the options of a query.
A Search::QS::Options::Start to set/get the first record to show
A Search::QS::Options::Limit to set/get the max number of elements to show
An array (Set::Array) of Search::QS::Options::Sort with sort informations
$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
Initialize the object with default values
Seach::QS::Options::Sort, Seach::QS::Options::Start, Seach::QS::Options::Limit
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.