ePages 6.11.0 - DE_EPAGES/Content/API/Object/PagerCategoryPages.pm

Package DE_EPAGES::Content::API::Object::PagerCategoryPages

Pager for content objects in a category. Used in the MBO to display the pages of a category.

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

Functions

countItems
items

countItems

Returns the total number of objects on all pages.

Syntax
$Count = $Object->countItems;
Return
$Count (integer)
count items

items

Returns all objects of one page.

Syntax
$aItems = $Object->items($PageNumber);
Input
$PageNumber (integer)
current page number
Return
$aItems (ref.array)
array tied objects