Package DE_EPAGES::Presentation::API::Object::PagerHash
Creates a pager from a TLE loop of objects. Used by the Pager TLE block DE_EPAGES::Presentation::API::TLE::PagerHandler::PagerHash.
Base |
DE_EPAGES::Presentation::API::Object::Pager |
Functions
countItems
Returns the total number of items to be paged.
Syntax |
$Count = $Pager->countItems; |
Return |
|
items
Returns all items of one page.
Syntax |
$aItems = $Pager->items($Page); |
Input |
|
Return |
|
sortObjects
Sorts the hashes according to the 'OrderBy' and 'OrderDesc' attributes, which are set by corresponding input fields. override pager->sortObjects
Syntax |
$aSortedObjects = $Pager->sortObjects($aObjects); |
Input |
|
Return |
|