NAME
Search::QS::Options - Options query search like limits, start and sort
VERSION
version 0.02
SYNOPSIS
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;
DESCRIPTION
This object incapsulate the options of a query.
METHODS
start()
Set/Get the first record to show
limit()
Set/Get the max number of elements to show
sort()
An array (Set::Array) of Search::QS::Options::Sort with sort informations
parse($perl_struct)
$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
to_qs()
Return a query string of the internal rappresentation of the object
reset()
Initialize the object with default values
SEE ALSO
AUTHOR
Emiliano Bruni <info@ebruni.it>
COPYRIGHT AND LICENSE
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.