Home | Wiki | OI 1.x Docs | OI 2.x Docs |
OpenInteract2::ResultsIterator - Iterator to scroll through search results that are objects of different classes.
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"; }
This class implements SPOPS::Iterator so we can scroll through search results one at a time.
initialize
fetch_object
None yet!
Nothing known.
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.
Chris Winters <chris@cwinters.com>
Generated from the OpenInteract 1.99_03 source.