Package DE_EPAGES::Product::API::Object::PagerSubProducts
Pager for all variations (sub products).of a product.
Base |
DE_EPAGES::Product::API::Object::PagerProducts |
Example |
sub ViewPagedChildren { my $self = shift; my $Servlet = shift; my $SuperProduct = $Servlet->object; my $Pager = DE_EPAGES::Product::API::Object::PagerSubProducts->new({ 'Servlet' => $Servlet, 'Object' => $SuperProduct, 'OrderBy' => 'Alias', 'CurrencyID' => 'USD', }); return $Pager->page; } |
Functions
countItems
Returns the total number of sub products of the super product.
Syntax |
$Count = $Pager->countItems; |
Return |
|
items
load all objects at page.
Syntax |
my $aItems = $Object->items($PageNumber); |
Input |
|
Return |
|