From 3ff88580e8d99af1c4475a36a234e5d2b56cbfe7 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 18 Sep 2009 13:29:58 -0700 Subject: [PATCH] Update POD for getIsa --- lib/WebGUI/Asset.pm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm index 0497938cd..de390315b 100644 --- a/lib/WebGUI/Asset.pm +++ b/lib/WebGUI/Asset.pm @@ -1207,7 +1207,7 @@ sub getImportNode { #------------------------------------------------------------------- -=head2 getIsa ( $session ) +=head2 getIsa ( $session, [ $offset ] ) A class method to return an iterator for getting all Assets by class (and all sub-classes) as Asset objects, one at a time. When the end of the assets is reached, then the iterator @@ -1220,6 +1220,15 @@ while (my $product = $productIterator->()) { ##Do something useful with $product } +=head3 $session + +A reference to a WebGUI::Session object. + +=head3 $offset + +An offset, from the beginning of the results returned from the query, to really begin +returning results. This allows very large sets of results to be handled in chunks. + =cut sub getIsa {