ePages 6.10 - DE_EPAGES/Presentation/API/Object/PagerLoop.pm

Package DE_EPAGES::Presentation::API::Object::PagerLoop

Creates a pager from a TLE loop of objects. Used by the Pager TLE block DE_EPAGES::Presentation::API::TLE::PagerHandler::Pager.

Base
DE_EPAGES::Presentation::API::Object::Pager

Functions

countItems
items

countItems

Returns the total number of items to be paged.

Syntax
$Count = $Pager->countItems;
Return
$Count (integer)
number of items

items

Returns all items of one page.

Syntax
$aItems = $Pager->items($Page);
Input
$Page (integer)
current page number
Return
$aItems (ref.array.object)
list of objects