File tree Expand file tree Collapse file tree
user_guide_src/source/libraries Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -320,12 +320,16 @@ These methods return the page number for the previous or next pages in relation
320320getFirstPageNumber() & getLastPageNumber()
321321------------------------------------------
322322
323- These methods return the page numbers to the first and last pages in the set of
324- links to be displayed.
323+ These methods return the page numbers of the first and last pages in the set of
324+ links to be displayed. For example, if the set of links to be displayed is something like this::
325325
326- .. note :: If you want to get the page numbers to the first and last pages in the
327- result set, the first page number is always 1, and use `getPageCount() `_ to
328- get the last page number.
326+ 3 | 4 | 5 | 6 | 7
327+
328+ ``getFirstPageNumber() `` will return 3 while ``getLastPageNumber() `` will return 7.
329+
330+ .. note :: To obtain the page numbers of the first and last pages in the entire
331+ result set, you can use the following approach: The first page number is always 1, and `getPageCount() `_ can be used to
332+ retrieve the last page number.
329333
330334getCurrentPageNumber()
331335----------------------
You can’t perform that action at this time.
0 commit comments