Skip to content

ProductCommentsList

The ProductCommentsList object represents a list of ProductComment objects.

classDiagram
  direction LR
  ProductCommentsList "1" --o "*" ProductComment
  class ProductComment{
  }
  class ProductCommentsList{
    int pages
    int page
    int count
    int itemCountPerPage
    nextPage()
    prevPage()
    setPage(int page)
    setItemCountPerPage(int i)
  }

Properties

pages property

int Number of pages of internal paginator.

page property

int Current page number of internal paginator.

count property

int Number of items in the list.

itemCountPerPage property

int Number of items in a page of internal paginator.

Methods

list.setPage(int page)

Sets the page of internal paginator.

{{ list.setPage(2) }}

list.nextPage()

Sets the page to the next page of internal paginator.

{{ list.nextPage() }}

list.prevPage()

Sets the page to the previous page of internal paginator.

{{ list.prevPage() }}

list.setItemCountPerPage(int itemCountPerPage)

Sets the number of items in a page of internal paginator.

{{ list.setItemCountPerPage(10) }}