Search::Query::Field - base class for query fields
my $field = Search::Query::Field->new( name => 'foo', alias_for => [qw( bar bing )], );
Search::Query::Field is a base class for implementing field validation and aliasing in search queries.
This class is a subclass of Rose::ObjectX::CAF. Only new or overridden methods are documented here.
Get/set the name of the field.
Get/set the alternate names for the field. Can be a string or array ref.
Standard attribute accessor. Expects a CODE reference.
The base method always returns true.
Get/set the error string for the Field object. The return value of this method is included by the Parser in any error message whenever validate() returns false.
<karman at cpan.org>
Please report any bugs or feature requests to
bug-search-query at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Search-Query. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
This module started as a fork of Search::QueryParser by Laurent Dami.
Copyright 2010 Peter Karman.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.