ePages 7.47.0 - DE_EPAGES/AppStore/API/Object/AppsPager.pm

Package DE_EPAGES::AppStore::API::Object::AppsPager

Pager for official apps.

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

Functions

handle
new

handle

Extract 'Items' and 'ItemCount' from $hAppsList

Syntax
$Pager->handle( $hAppsList );
Input
$hAppsList (ref.hash)
AppStoreApps

new

Constructor to create RemoteSearchPager without items. You must call $Pager->handleSearchResponse($SearchResponse) to provide items.

Syntax
my $Pager = DE_EPAGES::RemoteSearch::API::Object::RemoteSearchPager->new( $hInfo );
Input
$hInfo (ref.hash)
parameters with keys
  • Servlet - servlet object
  • Page - page number (default=1)
  • PageSize - max. number of items per page (default=10)
  • PagerSize - max. number of pages in pager area (default=10)
  • OrderBy - sort attribute name (default='')
  • OrderDesc - sort direction (0=ascending, 1=descending, default=0)
  • UriParameters - additinal parameter that are included in
    the links, for example to next and previous page
    - ref-hash.string
Return
$Pager (object)
Pager object