aboutsummaryrefslogblamecommitdiff
path: root/www/p5-Template-Iterator-AlzaboWrapperCursor/pkg-descr
blob: 5726522ae1ec3f3f5bd8633e78b2ff8bd8829672 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                       
This module allows a Class::AlzaboWrapper::Cursor object to be used as
a TT2 iterator.

For a cursor which returns one object at a time, the iterator simply
returns one object per iteration. When the cursor returns multiple
objects, the iterator returns a hash reference where the keys are the
table name of the object's class in lower-case, with camel-casing
turned into underscores. The values of the hash are the objects.

So if the cursor returns Foo::User and Foo::Page objects, the keys are
"user" and "page".

WWW: http://search.cpan.org/dist/Template-Iterator-AlzaboWrapperCursor/