SPOPS::Iterator::DBI - Implementation of SPOPS::Iterator for SPOPS::DBI
my $iter = My::SPOPS->fetch_iterator({ skip_security => 1, where => 'package = ?', value => [ 'base_theme' ], order => 'name' }); while ( $iter->has_next ) { my $template = $iter->get_next; print "Item ", $iter->position, ": $template->{package} / $template->{name}"; print " (", $iter->is_first, ") (", $iter->is_last, ")\n"; }
This is an implementation of the SPOPS::Iterator interface -- for usage guidelines please see the documentation for that module. The methods documented here are for SPOPS developers (versus SPOPS users).
SPOPS::Iterator
initialize()
fetch_object()
finish()
SPOPS::DBI
Copyright (c) 2001-2004 intes.net, inc.. 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>
To install SPOPS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPOPS
CPAN shell
perl -MCPAN -e shell install SPOPS
For more information on module installation, please visit the detailed CPAN module installation guide.