Skip to content

Commit 70ef564

Browse files
committed
docs: fix RST format
1 parent fdc4e92 commit 70ef564

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

‎user_guide_src/source/libraries/pagination.rst‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ to load it manually:
1818

1919
.. literalinclude:: pagination/001.php
2020

21+
2122
***************************
2223
Paginating Database Results
2324
***************************
@@ -102,16 +103,12 @@ the total number of items as the first, second, and third parameters, respective
102103

103104
This will, by default, display the links in the normal manner, as a series of links, but you can change the display
104105
template used by passing in the name of the template as the fourth parameter. More details can be found in the following
105-
sections.
106-
107-
::
106+
sections::
108107

109108
<?= $pager->makeLinks($page, $perPage, $total, 'template_name') ?>
110109

111110
It is also possible to use a URI segment for the page number, instead of the page query parameter, as described in
112-
the previous section. Specify the segment number to use as the fifth parameter to ``makeLinks()``.
113-
114-
::
111+
the previous section. Specify the segment number to use as the fifth parameter to ``makeLinks()``::
115112

116113
<?= $pager->makeLinks($page, $perPage, $total, 'template_name', $segment) ?>
117114

0 commit comments

Comments
 (0)