SPOPS::Iterator::DBI - Implementation of SPOPS::Iterator for SPOPS::DBI


SPOPS documentation  | view source Contained in the SPOPS distribution.

Index


NAME

Top

SPOPS::Iterator::DBI - Implementation of SPOPS::Iterator for SPOPS::DBI

SYNOPSIS

Top

  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";
  }

DESCRIPTION

Top

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).

METHODS

Top

initialize()

fetch_object()

finish()

SEE ALSO

Top

SPOPS::Iterator

SPOPS::DBI

COPYRIGHT

Top

AUTHORS

Top

Chris Winters <chris@cwinters.com>


SPOPS documentation  | view source Contained in the SPOPS distribution.