Skip to content

Commit a58cdd7

Browse files
committed
docs: update sample code
1 parent 78b43b0 commit a58cdd7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎user_guide_src/source/libraries/pagination.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ This will, by default, display the links in the normal manner, as a series of li
106106
template used by passing in the name of the template as the fourth parameter. More details can be found in the following
107107
sections::
108108

109-
<?= $pager->makeLinks($page, $perPage, $total, 'template_name') ?>
109+
$pager->makeLinks($page, $perPage, $total, 'template_name');
110110

111111
It is also possible to use a URI segment for the page number, instead of the page query parameter, as described in
112112
the previous section. Specify the segment number to use as the fifth parameter to ``makeLinks()``::
113113

114-
<?= $pager->makeLinks($page, $perPage, $total, 'template_name', $segment) ?>
114+
$pager->makeLinks($page, $perPage, $total, 'template_name', $segment);
115115

116116
Please note: ``$segment`` value cannot be greater than the number of URI segments plus 1.
117117

0 commit comments

Comments
 (0)