Package DE_EPAGES::Presentation::API::Object::PagerChildren
Pager to display the list of all child objects of an object.
Base |
DE_EPAGES::Presentation::API::Object::Pager |
Example |
sub ViewCustomers { my $self = shift; my ($Servlet) = @_; my $Shop = $Servlet->object; my $Pager = DE_EPAGES::Presentation::API::Object::PagerChildren->new({ 'Servlet' => $Servlet, 'Object' => $Shop->folder('Customers'), 'PageSize' => 25, 'OrderBy' => 'Alias' }); return $Pager->page; } |
Functions
countItems
Returns the total number of child objects.
Syntax |
$Items = $Pager->countItems; |
Return |
|
items
Returns all objects of one page.
Syntax |
$aItems = $Pager->items($Page); |
Input |
|
Return |
|