The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

OpenInteract2::ResultsIterator - Iterator to scroll through search results that are objects of different classes.

SYNOPSIS

 my $results = OpenInteract2::ResultsManage->new(
                              { search_id => $search_id });
 my $iter = $results->retrieve({ return => 'iterator' });
 while ( my $obj = $iter->get_next ) {
     print "Object is a ", ref $obj, " with ID ", $obj->id, "\n";
 }

DESCRIPTION

This class implements SPOPS::Iterator so we can scroll through search results one at a time.

METHODS

initialize

fetch_object

BUGS

None yet!

TO DO

Nothing known.

SEE ALSO

SPOPS::Iterator

OpenInteract2::SearchManage

COPYRIGHT

Copyright (c) 2001-2003 Chris Winters. All rights reserved.

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

AUTHORS

Chris Winters <chris@cwinters.com>