GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TENG::ITERATOR (3)

.ds Aq ’

NAME

Teng::Iterator - Iterator for Teng

CONTENTS

DESCRIPTION

This is an iterator class for Teng.

SYNOPSIS



  my $itr = Your::Model->search(user,{});
 
  my @rows = $itr->all; # get all rows

  # do iteration
  while (my $row = $itr->next) {
    ...
  }



METHODS

$itr = Teng::Iterator->new() Create new Teng::Iterator’s object. You may not call this method directly.
my $row = $itr->next(); Get next row data.
my @ary = $itr->all; Get all row data in array.
$itr->suppress_object_creation($bool) Set row object creation mode.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TENG::ITERATOR (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.