ePages 6.11.0 - DE_EPAGES/Product/API/TLE/PagerHandler.pm

Package DE_EPAGES::Product::API::TLE::PagerHandler

Implements TLE functions for products.

Functions

PagerProducts

PagerProducts

Creates a pager object from a TLE loop of product objects, see also: DE_EPAGES::Catalog::API::Object::PagerLoopProducts.

Syntax
#BLOCK("PagerProducts", #Loop, #PageSize, #OrderBy, #OrderDesc)
Example
#BLOCK("PagerProducts", #VisibleProducts, 25, "ListPrice", 0)
  #LOOP(#Pager.Items)
    #Alias : #Name
    <br />
  #ENDLOOP
#ENDBLOCK
Input
#Loop (ref.array.object)
TLE loop of objects
#PageSize (integer)
number of items on a page
#OrderBy (string)
sort attribute name
#OrderDesc (boolean)
sort in descending direction