Skip to content

Commit b465ddd

Browse files
authored
Update pagination.rst
Corrected Typo
1 parent 051ecf8 commit b465ddd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/libraries/pagination.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ It even reads the current page it should display from the current URL via a ``pa
2525

2626
To provide a paginated list of users in your application, your controller's method would look something like::
2727

28-
<?php namespace App\Constrollers;
28+
<?php namespace App\Controllers;
2929

3030
use CodeIgniter\Controller;
3131

@@ -112,10 +112,10 @@ It is also possible to use a URI segment for the page number, instead of the pag
112112

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

115-
If you in need to show many pagers on one page then additional parameter which wil define a group could be helpful::
115+
If you in need to show many pagers on one page then additional parameter which will define a group could be helpful::
116116

117117
$pager = service('pager');
118-
$pager->setPath('path/for/my-group', 'my-group'); // Additionaly you could define path for every group.
118+
$pager->setPath('path/for/my-group', 'my-group'); // Additionally you could define path for every group.
119119
$pager->makeLinks($page, $perPage, $total, 'template_name', $segment, 'my-group');
120120

121121
Paginating with Only Expected Queries

0 commit comments

Comments
 (0)