You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user_guide_src/source/libraries/pagination.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -239,7 +239,7 @@ Since the first link displayed is page one, ``hasPrevious()`` would return **fal
239
239
getPrevious() & getNext()
240
240
-------------------------
241
241
242
-
These methods return the URL for the previous or next pages of results on either side of the numbered links.
242
+
These methods return the **URL** for the previous or next pages of results on either side of the numbered links.
243
243
244
244
For example, you have the current page set at 5 and you want to have the links before and after (the surroundCount) to be 2 each, that will give you something like this::
245
245
@@ -252,7 +252,7 @@ If you want to get page 4 and page 6, use ``getPreviousPage()`` and ``getNextPag
252
252
getFirst() & getLast()
253
253
----------------------
254
254
255
-
Much like ``getPrevious()`` and ``getNext()``, these methods return links to the first and last pages in the
255
+
Much like ``getPrevious()`` and ``getNext()``, these methods return the **URL** to the first and last pages in the
256
256
result set.
257
257
258
258
links()
@@ -274,14 +274,14 @@ See following an example with these changes:
274
274
hasPreviousPage() & hasNextPage()
275
275
---------------------------------
276
276
277
-
This method returns a boolean true if there are links to a page before and after, respectively, the current page being displayed.
277
+
This method returns a boolean ``true`` if there are links to a page before and after, respectively, the current page being displayed.
278
278
279
279
Their difference to ``hasPrevious()`` and ``hasNext()`` is that they are based on the current page while ``hasPrevious()`` and ``hasNext()`` are based on the set of links to be displayed before and after the current page based on the value passed in ``setSurroundCount()``.
280
280
281
281
getPreviousPage() & getNextPage()
282
282
---------------------------------
283
283
284
-
These methods return a URL for the previous and next pages in relation to the current page being displayed, unlike ``getPrevious()`` and ``getNext()`` that return the URL for the previous or next pages of results on either side of the numbered links. See the previous paragraph for a full explanation.
284
+
These methods return a **URL** for the previous and next pages in relation to the current page being displayed, unlike ``getPrevious()`` and ``getNext()`` that return the URL for the previous or next pages of results on either side of the numbered links. See the previous paragraph for a full explanation.
285
285
286
286
For example, you have the current page set at 5 and you want to have the links before and after (the surroundCount) to be 2 each, that will give you something like this::
0 commit comments