Marcus Ramberg > Catalyst-Model-Search > Catalyst::Model::Search::Item

Download:
Catalyst-Model-Search-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source  

NAME ^

Catalyst::Model::Search::Item - Standard access to a search result item

DESCRIPTION ^

This module represents a single search result item.

METHODS ^

get_score

Returns the score the search engine assigned to this item.

get_key

Returns the unique key for this item.

get_fields

Returns an array of all of the data fields stored in this item.

get( 'key' )

Returns the text data associated with the specified key. This method is only useful if you have set the Catalyst::Model::Search 'result_style' config option to 'full'.

AUTHOR ^

Andy Grundman, <andy@hybridized.org>

COPYRIGHT ^

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: