Pangloss::Search::Results - collection of terms resulting from a search


Pangloss documentation  | view source Contained in the Pangloss distribution.

Index


NAME

Top

Pangloss::Search::Results - collection of terms resulting from a search

SYNOPSIS

Top

  use Pangloss::Search::Results;
  my $results = new Pangloss::Search::Results;

  $results->add( @terms );

  my ($concept) = $results->concepts;
  my $results2  = $results->by_concept( $concept );

  my ($lang)    = $results->languages;
  my $results3  = $results->by_language( $lang );

  my @terms = $results->list;

DESCRIPTION

Top

A collection of Panglos::Terms indexed by concept and language. Inherits from Pangloss::Terms.

METHODS

Top

TODO: document API methods.

NOTES

Top

Ordering by category, translator, and proofreader should be fairly easy to add in the future.

AUTHOR

Top

Steve Purkis <spurkis@quiup.com>

SEE ALSO

Top

Pangloss::Search, Pangloss::Search::Results::Pager

Pangloss::Terms, Pangloss::Users, Pangloss::Concepts, Pangloss::Languages, Pangloss::Categories,


Pangloss documentation  | view source Contained in the Pangloss distribution.